WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Problem with the limited free version
Serious bug

Version:
printPrint


Problem with the limited free version
murator_gz
Beginner

Usergroup: Member
Joined: Dec 19, 2005
Total Topics: 1
Total Posts: 2
Posted 12/19/05 - 04:50 AM:
quote post
#1
I wanted to use this gallery before purchasing for it. The instalation passed sucessfully, but after this I couldn't execute the scripts, and everything I saw was:

Fatal error: Cannot access empty property in [...]language.php on line 1

the same is in category.php and maybe somewhere else...

It was difficult for me to discover what was wrond, because everything was in one line. However at last I found the bug.

$this->$name = $value;

when the $name is empty, the program can't continue working :| and reports fatal error.

So there are very serious bugs both in code and in default.lng file.

register_year|||DIVIDER|||one year|||END LINE||||||DIVIDER||||||END LINE|||suggest_toolarge|||DIVIDER|||You have exceeded the number of bytes you are allowed to upload.

the most interesing fragment in the line above is: |||END LINE||||||DIVIDER||||||END LINE|||

if you only checked the variable $name before use....

if (trim($name) == "") continue; //for example in loop section.

(I have PHP5.1)

Regards

Greg (from Poland)


Edited by murator_gz on 12/19/05 - 05:29 AM
murator_gz
Beginner

Usergroup: Member
Joined: Dec 19, 2005
Total Topics: 1
Total Posts: 2
Posted 12/19/05 - 08:24 AM:
quote post
#2
Now I know the problem. This gallery doesn't want to work under PHP5, but onlu under PHP4... I have a request to you. Would you mind solving the problem.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6175
Posted 12/19/05 - 04:12 PM:
quote post
#3
It worked under PHP 5.0.4, but PHP 5.0.5 broke everything. That was fixed (though I'm not sure the basic edition has the fix of that yet, as what you posted looks like what I already fixed), but I've since heard that 5.1.1 again breaks scripts.

Unless you can find me a debian apt repository which has 5.1, I have to stick with what it says is the current version, which is 5.0.5. I have no idea when 5.1 will be in debian etch (which is what my distro, mepis, uses), and compiling from source is too risky for me.

Edit: Found a supposed source,
deb http://packages.dotdeb.org stable all
but it just lists a mishmash of 5.0.5 and 5.1.1 packages in synaptic and fails to satisfy dependencies when I try to get it to upgrade.

Edited by Paul on 12/19/05 - 04:24 PM

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.