blank page

i installed on my windows server just fine... well... except it does not support gd so all pages show up but I can't post any fotos.
on trying to install on the linux I just get a blank page, all files are edited as needed, this server does have gd and I manuly created teh DB and talbes needed, what am I missing?

it's installed on http://lafamiliainernacional.de/fotos

Comments

  • I'm getting a blank page from setup.php as well.

    I have the php mysql module people have mentioned in another thread. Dunno what to do.
  • Argh! Ive been sitting here for hours reading through these forums and digging through my site to fix my zenphoto installation. I still get a blank setup.php when I access it through the browser.
  • doh! Figures. I dunno what I did but it works now. It always does right after I go to the trouble of asking for help.
  • I am getting the same thing. Anyone figure anything out??
  • Hi geotay, any idea what you did to fix it?
  • Ok, I figured out what I was doing wrong. I didn't have my zp-config.php file permissions set properly to be writable by the server. So if anyone else runs into this problem, check that you did that. ;)
  • trisweb Administrator
    Really, that fixed it?? I'll have to test....
  • trisweb Administrator
    Try that, check the permissions on all the PHP files in your install. They should all be readable by the server (like 755 for example, which is -rwxr-xr-x).

    The error isn't displaying probably because your PHP error reporting is turned down by your host for security...
  • I get a blank page when doing zenphoto/zp-core/setup.php, zenphoto/zp-core/admin.php and zenphoto.

    I did the 755 and 777 changes but didnt work.

    Ijust downloaded the 1.1.2 version and changed the zp-config.php, uploaded with ftp and tryed. Didnt work...

    Anny clues for what to do?
  • Blank pages are usually an indication of a CGI script error. Please view your CGI error log and report what errors might be shown.
  • This is strange ... i stopped trying last night, this morning i tried again and it works ...

    I still don't know what the problem was but i am happy it works now :)

    Thanks for the quick response.
  • Hi,

    i have the exact same problem. I went to see the error logs, here is what i get. Any ideas?

    [Sun Dec 9 16:56:04 2007] [error] PHP Fatal error: require_once() [function.require]: Failed opening required 'utf8.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/w3shcom/public_html/photos/zp-core/classes.php on line 7
    [Sun Dec 9 16:56:04 2007] [error] PHP Warning: require_once(utf8.php) [function.require-once]: failed to open stream: No such file or directory in /home/w3shcom/public_html/photos/zp-core/classes.php on line 7
  • trisweb Administrator
    Nghia - try re-installing. It looks like you're missing a file 'utf8.php' which should be in the zp-core directory. If that doesn't work come back and let us know...
  • yes that was it! dont know why it wasnt uploaded. Thank you! :)
  • I am new to ZP. I beleived I have everything installed, but the setup page indicated that GD and MySQL were not properly installed. I revisited the requirements for those two components and re-edited zp-config.php (to include the proper MySQL user and password). Now when I try to open setup it is blank. I have this setup on Windows XP and IIS. I tried to find a CGI log as suggested by sbillard, but could not.

    Any other suggestions? Thanks
  • Most likely you have an error in your zp-config.php file. The easiest way to get past this is to just delete it. First, make note of all the mySQL information as you will need to provide it to setup.php when you run it again after deleting your zp-config.php file.
  • I just removed zp-config.php and tried again. I get several warnings on the setup page. The first one is: "Warning: copy(zp-config.php) [function.copy]: failed to open stream: Permission denied in C:\inetpub\wwwroot\Marigold_Test\zenphoto\zp-core\setup.php on line 8." Following that there are red Xs next to PHP GD support, PHP mySQL support, zp-config.php file and connect to mySQL. These are followed by two more warnings: "permission denied in ... on line 280" and "supplied argument is not a valid stream resource in ... on line 286."

    The red Xs back by PHP GD support and PHP mySQL support are confusing to me. My understanding is that I need to only have "extension=php_gd2.dll" in the PHP.ini to activate GD. For mySQL, I have 5.0 installed. The mySQL Service is running and I can connect to it in the Windows command prompt. I also have the line: "extension=php_mysql.dll" in PHP.ini.

    Does this new information help at all?

    Thanks.
  • OK, the first problem (line 8) is a permissions issue. Zenphoto needs to be able to write to the root folder to make a copy of the basic zp-config.php file. Try chmod(0777) on that folder. Likewise on the next two errors--these are on the .htaccess file. Apparently setup is not allowed to write to it. Another chmod(0777) on the folder and the .htaccess file should help. BTW, setup tried a chmod(.htaccess, 0777), and the system reported that the file was writeable, so not being able to write it is strange.

    We are checking that GD and mySQL extensions are loaded and your PHP is reporting back that they are not. I am afraid I don't know exactly what you need to do to configure these into PHP.
  • Same problem as several of the people above. I have downloaded version 1.1.3 and uploaded it via FTP, to a Linux Server (CentOS), which is running Apache, MySQL 5.0.22, PHP 5.16 and has GD "bundled (2.0.28 compatible)". I edited the zp-config.php and tried to run ./zp-core/setup.php. I was greeted by an empty page, I tried CHMODing all files to 755 and 777. Neither of those ideas worked. Thanks for any insight in my situation.
  • Try chmoding the htaccess ans zp-core folders to 755
  • sbillard I've tried that already, no luck what so ever.
  • What do you get when you run setup.php?
  • Hi,
    I've got the same problem... Tried everything...
    Hope somebody'll find a solution...
  • Matteo and benmilo:

    Can you post links to your sites so we can take a look?

    Also, please review your CGI logs and see if there are any errors reported there. Finally, are there any indicators of issues when you run setup.php?
  • http://www.teamphysio.ch/photos/
    Hope you can find what's wrong!
    Thanks
    edit: no errors when setu.php runs
  • The HTML source looks very much like there was some sort of CGI error. Can you review the CGI error logs from your server to see what it shows? (This is not the same as the information shown by setup.php.)
  • Hi!
    I can't access the cgi logs but I re-installed zenphoto and have this error:
    "Notice: Constant DEBUG already defined in /var/www/vhosts/teamphysio.ch/httpdocs/zenphoto/zp-core/functions.php on line 32

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/teamphysio.ch/httpdocs/zenphoto/zp-core/functions.php:32) in /var/www/vhosts/teamphysio.ch/httpdocs/zenphoto/index.php on line 12"
    the website is now on www.teamphysio.ch/zenphoto/

    I installed zenphoto on another site (same provider) and it works fully...
  • The DEBUG problem is because somewhere else, most likely in zp-config.php. Some versions of PHP complain about this. It does not really hurt anything, but there is a fix in the nightly build for this.
Sign In or Register to comment.