4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 16, 2018, 10:34:20 PM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
+  4images Forum & Community
|-+  4images Issues / Ausgaben
| |-+  Discussion & Troubleshooting (Moderators: Acidgod, ivan, Rembrandt)
| | |-+  config file double quoted string bug
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: config file double quoted string bug  (Read 6749 times)

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 0

View Profile
« on: September 13, 2009, 05:36:12 AM »

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'

If you don't tell me what to do, I won't tell you where you should go :)
4images Guru
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 578

mmm PHP...

View Profile WWW
« Reply #1 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.

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.072 seconds with 19 queries.
Post your comments here