Author Topic: detectsqlpath() worked in 1.77 but doesn't for me in 1.77b  (Read 2521 times)

chufford

  • Posts: 34
    • View Profile
detectsqlpath() worked in 1.77 but doesn't for me in 1.77b
« on: July 02, 2004, 12:30:46 pm »
I tried doing a backup for the first time since upgrading to 1.77b. At first, my attachments directory didn't allow writing so no file was created. There also was no error message. I set the permissions of attachments to 777 and then the backup would create a file, named correctly, that was empty. Further investigation showed that it was trying to execute the command 'no mysql/mysqldump ...'. It looks like the changes in the detection code works worse for me that the old code. I commented out the changes in detectsqlpath() as well as some of the changes in the $write area of editconf.php and it then worked as it did before.

I now see where I could hard-wire this path in the config.php file, but thought you'd like to know about my experience.
Chris Hufford

BGSWebDesign

  • Posts: 625
    • View Profile
    • http://www.bgswebdesign.com
Not for me either...
« Reply #1 on: July 02, 2004, 01:34:48 pm »
Hi,

It doesn't work for me either... thanks for letting me know.
When will we see a fix Dean?

Peace,
Thanks,
-Brett
http://www.bgswebdesign.com/Contact-Us.php

*** I do custom List Mail Pro installations ***
Contact me through my website (above)

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
detectsqlpath() worked in 1.77 but doesn't for me in 1.77b
« Reply #2 on: July 12, 2004, 11:57:07 pm »
You can set the path to MySQL manually with the $sqlpath variable in config.php.

It would be good to know what works for both of you so I can see if I need to update or fix my detection code.
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

chufford

  • Posts: 34
    • View Profile
detectsqlpath() worked in 1.77 but doesn't for me in 1.77b
« Reply #3 on: July 13, 2004, 12:08:32 am »
CMD=/usr/bin/mysqldump is the command that it uses successfully when I commented out the new detect code from 1.77b. For me, it looks like there may be a logic error when 'no mysql' is returned. It used 'no mysql' rather than trying the other paths.
Chris Hufford

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
detectsqlpath() worked in 1.77 but doesn't for me in 1.77b
« Reply #4 on: July 15, 2004, 02:37:31 am »
Can you send the output of phpinfo() on your server to my email?

Code: [Select]
<?phpphpinfo();?>
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

chufford

  • Posts: 34
    • View Profile
detectsqlpath() worked in 1.77 but doesn't for me in 1.77b
« Reply #5 on: July 15, 2004, 06:16:01 am »
My phpinfo (for a limited time...)
http://www1.smartsound.com/phpinfo.php
Chris Hufford

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
detectsqlpath() worked in 1.77 but doesn't for me in 1.77b
« Reply #6 on: July 24, 2004, 07:28:17 am »
got it thanks
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting