Member
Member
biopixel   2013-08-11, 14:49
#1

After upgrading to 1.5.4.1 all of the pages will not show.
The pages are published. Created a new test page and that to will not show.

Some themes do not work at all like Zenpage. HTTP 500.
Zpskeleton works but some thumnails do not link to photos.
Default works with all photos but still no pages published.

What to do?

Have rerun setup but no fix
and I don't have a database backup..
thank you

PHP version 5.3.27
MySQLi 5.1.66

Administrator
Administrator
acrylian   2013-08-11, 16:00
#2

If you upgraded to 1.5.4.1 you will have to ask my future me :-)

zpSkeleton has an update for 1.4.5 available. Zenpage of course works since it is official.
As always you really have to look at your error logs if you don't want happy guessing.
I bet it is permissions.

For the future I would recommend the database backup plugin we provide.

Member
Member
biopixel   2013-08-11, 16:17
#3

using the 1.4.5.1 version of zpSkeleton

when activating Zenpage makes the screen go blank, HTTP 500 error if trying acces from other browser

yes a backup would have been great at this moment, did manual backup years ago and then got lazy, many upgrades without a glitch, well, live and learn..

some logs:

{16217:Sun, 11 Aug 2013 14:33:23 GMT}

WARNING: set_time_limit(): Cannot set time limit due to system policy in /customers/a/e/f/biopixel.se/httpd.www/zp-core/setup/index.php on line 2370

WARNING: set_time_limit(): Cannot set time limit due to system policy in /customers/a/e/f/biopixel.se/httpd.www/zp-core/zp-extensions/deprecated_functions/functions.php on line 26

set_time_limit called from listUses (functions.php [26])

WARNING: imagejpeg(): open_basedir restriction in effect. File(/customers/a/e/f/biopixel.se/httpd.www/cache/- Macro 1 -/caperi_biopixel_630.jpg) is not within the allowed path(s): (/customers/a/e/f/biopixel.se/httpd.www:/customers/a/e/f/biopixel.se/httpd.private:/customers/a/e/f/biopixel.se/tmp:/customers/biopixel.se/biopixel.se:/var/www/diagnostics:/usr/share/php) in /customers/a/e/f/biopixel.se/httpd.www/zp-core/lib-GD.php on line 119

imagejpeg called from zp_imageOutput (lib-GD.php [119])

from cacheImage (functions-image.php [441])

from i.php [165]

{26450:Fri, 09 Aug 2013 23:33:00 GMT}

WARNING: imagejpeg(): Invalid filename in /customers/a/e/f/biopixel.se/httpd.www/zp-core/lib-GD.php on line 119

imagejpeg called from zp_imageOutput (lib-GD.php [119])

from cacheImage (functions-image.php [441])

from i.php [165]

{26450:Fri, 09 Aug 2013 23:33:22 GMT}

WARNING: file_exists(): open_basedir restriction in effect. File(/customers/a/e/f/biopixel.se/httpd.www/cache/- Macro 1 -/bridalveil_biopixel_DUO_WEB_630.jpg) is not within the allowed path(s): (/customers/a/e/f/biopixel.se/httpd.www:/customers/a/e/f/biopixel.se/httpd.private:/customers/a/e/f/biopixel.se/tmp:/customers/biopixel.se/biopixel.se:/var/www/diagnostics:/usr/share/php) in /customers/a/e/f/biopixel.se/httpd.www/zp-core/functions-basic.php on line 946

file_exists called from getImageURI (functions-basic.php [946])

from Image->getCustomImage (class-image.php [974])

from getCustomImageURL (template-functions.php [2840])

from printCustomSizedImage (template-functions.php [2895])

from include (image.php [81])

from include (index.php [111])

from index.php [15]

Member
Member
biopixel   2013-08-11, 16:24
#4

maybe this is why pages not show?
sorry for my ignorance in this.

WARNING: Cannot modify header information - headers already sent by (output started at /customers/a/e/f/biopixel.se/httpd.www/themes/zpskeleton/themeoptions.php:1) in /customers/a/e/f/biopixel.se/httpd.www/zp-core/setup/setup_themeOptions.php on line 33

header called from setup_themeOptions.php [33]

Member
Member
sbillard   2013-08-11, 17:39
#5

From your error messages:

set_time_limit() is used by Zenphoto to insure that there is no time-out when doing expected lengthy processing. That your site disallows it may be a problem if the server is too slow to complete the processing in the time it will allow.

/customers/a/e/f/biopixel.se/httpd.www/cache/- Macro 1 -/caperi_biopixel_630.jpg is probably a bad file link from somewhere. At any case, your site has restricted file opens and does not allow opening a file with certain paths. The invalid filename error is probably a downstream effect of this.

The final warning is probably due to a theme incompatibility, so be sure you are running the updated zpSkeleton theme.

Member
Member
biopixel   2013-08-11, 17:48
#6

If i set theme to default the above mentioned image opens without problems.

/customers/a/e/f/biopixel.se/httpd.www/cache/- Macro 1 -/caperi_biopixel_630.jpg

I do run the updated 1.4.5 07/11/2013 zpSkeleton.

How do I change that my site has restricted file opens?

It has worked flawless before this update.

Anyways thanks for your great work!

Member
Member
sbillard   2013-08-11, 18:08
#7

Restricted file opens should not be a problem if the server is correctly configured. Zenphoto does not try to access items below its install unless you have configured an "external album". At any rate I doubt your provider will change this rule.

That the image opens with the default theme is an indication of an issue with the zpSkeleton theme. Perhaps it is an URL encoding issue, but I do not know that theme.

Member
Member
biopixel   2013-08-11, 18:31
#8

Finally I got it to work by using the zenpage theme and following the advice in this tread.

http://www.zenphoto.org/support/topic.php?id=282073#post-406270

It was the zenpage plugin not getting loaded. Go zenpage plugin, uncheck it, save, then re-check it and save again.

Now all the pages are published correctly and images as well

When I try to activate zpZkeleton I still get the above warning/error and I will post that in a new thread.

Member
Member
sbillard   2013-08-11, 19:21
#9

I have downloaded the zpSkeleton theme and tried it out.

I found one error on line 76 of the theme functions.php script. It should read require_once (WEBPATH . '/' . ZENFOLDER . "/zp-extensions/image_album_statistics.php"); Otherwise the theme seems working for me.

So if you are using the "latest" image strip you might be getting this error if your installation is in a sub-folder, but it is not the same as the error message you quote seems to indicate.

Perhaps you should re-download the theme and be sure that all the files on your site get replaced.

Member
Member
biopixel   2013-08-11, 21:43
#10

Deleted the zpSkeleton folder on server
uploaded fresh copy of latest zpSkeleton

same error shows when trying to activate also in debug log:

{25782:Sun, 11 Aug 2013 21:32:25 GMT} Zenphoto v1.4.5.1[b17846cb99ae70bb320f42aee855a0e68c1e85e4]

WARNING: Cannot modify header information - headers already sent by (output started at /customers/a/e/f/biopixel.se/httpd.www/themes/zpskeleton/themeoptions.php:1) in /customers/a/e/f/biopixel.se/httpd.www/zp-core/admin-themes.php on line 42

header called from admin-themes.php [42]


thank you for taking your time and helping me out!

Member
Member
sbillard   2013-08-12, 01:25
#11

I took a look at the file (zpSkelleton/themeoptions.php). There is indeed a blank space before the `

Administrator
Administrator
acrylian   2013-08-12, 08:35
#12

I suggest to contact gjr via his site or open a new topic with the theme name. zpSkeleton is one of the themes he decided to support further.

Member
Member
biopixel   2013-08-12, 08:58
#13

Removing the blank space before the

Member
Member
gjr   2013-08-15, 01:15
#14

I have corrected this in the download. Thanks!

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