4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: doonfrs on September 13, 2009, 05:36:12 AM

Title: config file double quoted string bug
Post by: doonfrs on September 13, 2009, 05:36:12 AM
Hi
My name is firas abd alrahman
I used 4images , and it's really the best images gallery script 
. . . .


while installing script i found this problem

my database user password was "xx$x123"

in config file you will have
$db_password = "xx$x123"

but the result will be
$db_password => xx123

this caused an error , (4images return "unexpected error" , it's not easy to know the error reason directly )

because the double quoted string will escapes variables values

the fix is simple
by using single quoted string in config file
$db_password ='xx$x123'


thanx
Title: Re: config file double quoted string bug
Post by: V@no on September 13, 2009, 07:07:35 AM
Hello and welcome to 4images forum.

Thank you for reporting this bug. I've added into "todo" list for next 4images version.