Member
Member
fille   2006-12-08, 15:42
#1

I installed Zenphoto, uploading pictures goes fine but but when i try to view them or go to edit he gives me this error:

Fatal error: Call to undefined function pathurlencode() in /home/site/public_html/photos/zen/classes.php on line 172

Everything seems configged ok, i didn't find this error on the forum. Anyone an idea?

Member
Member
thinkdreams   2006-12-08, 16:09
#2

Well, I found the function in /zen/functions.php:

`// rawurlencode function that is path-safe (does not encode /)

function pathurlencode($path) {

return implode("/", array_map("rawurlencode", explode("/", $path)));

}`

Not sure exactly what may be the case with it though. I'm going to guess it's a path issue, like the system cannot find functions.php but that is just a guess. Tris? Can you illuminate maybe?

Developer
Developer
trisweb   2006-12-08, 18:37
#3

@fille -- can we see your gallery? Often it's much easier to diagnose if we can look around.

It could be a path issue with functions.php, but I doubt it. Everything else seems to be working, so it's just that function? Weird.

fille, are you upgrading from an earlier version to 1.0.4?

Member
Member
fille   2006-12-09, 23:25
#4

http://www.dvmc.be/suriname/
admin/admin

It's not an upgrade, new install.

Developer
Developer
trisweb   2006-12-10, 02:03
#5

Did you try 1.0.5? I'm not sure of the problem, but if it was with the archive and the files included, then that could work.

Next step if that doesn't work: On your server, in the /suriname/zen directory, rename "functions.php" to "functions.txt" -- this will make Zenphoto stop working, but it will allow me to see the contents of the functions.php file you have and try to find the problem.

Thanks!

Member
Member
fille   2006-12-10, 02:22
#6

I installed 1.0.4 as a test, and this one works great! Not sure what the problem is with 1.0.5...

Developer
Developer
trisweb   2006-12-10, 02:44
#7

You probably had an error or problem during extraction and corrupted functions.php somehow. I'd try 1.0.5 again with a fresh download, but if 1.0.4 works then no worries, they're the same functionally.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.