![]() |
|
1.2.8 Installation and permission - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: 1.2.8 Installation and permission (/thread-6580.html) |
1.2.8 Installation and permission - olihar - 2010-02-10 Hi gang I am having this massive problem with installing ZenPhoto on a dedicated server. This is version 1.2.8 [4881] Doing all the manual permissions I have done so using a test install, but what happens then is I can run Setup but as soon as I save the database settings the page goes blank. And every page goes blank, front page, setup, admin and all others. Only way to get them back is to delete things from the zp-data folder. Using the same files on my shared hosting worked fine, without any problems. Wordpress was installed on the same server without any problems. I will let the following info from the setup page be included. ` Warning: fopen(/home/gregdo3/public_html/gallerypanorama/zp-data/setup_log.txt) [function.fopen]: failed to open stream: Permission denied in /home/gregdo3/public_html/gallerypanorama/zp-core/setup.php on line 57 Warning: fwrite(): supplied argument is not a valid stream resource in /home/gregdo3/public_html/gallerypanorama/zp-core/setup.php on line 58 Warning: fclose(): supplied argument is not a valid stream resource in /home/gregdo3/public_html/gallerypanorama/zp-core/setup.php on line 59 Warning: fopen(/home/gregdo3/public_html/gallerypanorama/zp-data/setup_log.txt) [function.fopen]: failed to open stream: Permission denied in /home/gregdo3/public_html/gallerypanorama/zp-core/setup.php on line 57 Warning: fwrite(): supplied argument is not a valid stream resource in /home/gregdo3/public_html/gallerypanorama/zp-core/setup.php on line 58 Warning: fclose(): supplied argument is not a valid stream resource in /home/gregdo3/public_html/gallerypanorama/zp-core/setup.php on line 59 Warning: Cannot modify header information - headers already sent by (output started at /home/gregdo3/public_html/gallerypanorama/zp-core/setup.php:244) in /home/gregdo3/public_html/gallerypanorama/zp-core/setup.php on line 275 Welcome to Zenphoto! This page will set up Zenphoto on your web server.
You need to address the problems indicated above then run setup.php again. 1.2.8 Installation and permission - acrylian - 2010-02-10 Well, you probably have to set the right permisssions via ftp as setup is not able to.... See the troubleshooting about which to set. 1.2.8 Installation and permission - olihar - 2010-02-10 I have done so, and even tried setting everything to 0777 permission. What I get like I said before is a blank page for everything, httpaccess file is working fine as if I type in /admin it takes me to the right url but that one is blank as well. The blank page shows up as soon as I save the detail for the sql login, so I can not by any change press the go button to actually install ZenPhoto. Error log ` Change file/folder permissions mask: loose (0777) relaxed (0775) strict (0755) 1.2.8 Installation and permission - acrylian - 2010-02-11 Sorry, I have no idea, I never encountered these kind of errors. But you need to solve the mysql error (sure that it is "localhost" and not a real server name??) and the permissions one. The mbstring one you can ignore if you don't use special characters. 1.2.8 Installation and permission - olihar - 2010-02-11 Yes, I am sure it is localhost, I used that on wordpress and works fine. The strange thing there is no error in the log about the real info I put in the sql window, like I say as soon as I put the right info and click save it turns blank, and any other page turns blank, only thing I can do is to delete the zp-config.php file to get the setup page again. If I put the wrong sql info in and click save nothing happens, there to say that is normal. I have checked the database and it is not putting anything into the database. I will not use any special characters for this install so that will be fine. Isn't there a way to force zen to report all errors, as there must be an error instead of the white blank page with not code on it? 1.2.8 Installation and permission - acrylian - 2010-02-11 Not my day. Of course the main problem are the permissions. Setup tries to create the 1.2.8 Installation and permission - olihar - 2010-02-11 Yes I have tried doing so, but as soon as I put one I have made manually everything goes blank as well. Even forcing the zp-config file to be 0777 does not do the trick ether. I notice however when I get the system to make one, I am not allowed to change the permission of the zp-config file through FTP. This is completely breaking my brain, as I have never ever seen something like this. It seems like this problem was something that came up for others as well. http://www.zenphoto.org/support/topic.php?id=6659 But none of them seem to have solutions that make any sense. 1.2.8 Installation and permission - olihar - 2010-02-11 Again, forgot to put it in the text above, is there a way to force ZenPhoto to report every error it gets, and try to get something else then the blank page. 1.2.8 Installation and permission - acrylian - 2010-02-11 I am sorry I have really no idea about that permissions on your server. I had never these, even not on a host over here that is known to be difficult at times. At the beginning of 1.2.8 Installation and permission - olihar - 2010-02-11 I set all the debug to true and the only thing I get when browsing around the empty pages is this.
1.2.8 Installation and permission - acrylian - 2010-02-11 So no errors at all. Maybe you should try uploading the files again. Sorry, I have really no idea what is going on your server. Maybe my collegue sbillard will have an idea but he is currently away and visits the forum only occasionally. 1.2.8 Installation and permission - olihar - 2010-02-11 I have multiple uploads, both using zip and tar methods to upload. Will be interesting to hear what Stephen has to say about this. I am going to call the hosting company and see if they have a clue. I have even tried to change these settings. ` define('WEBPATH', '/gallerypanorama'); //////////////////////////////////////////////////////////////////////////////// 1.2.8 Installation and permission - sbillard - 2010-02-11 I can't really tell you what is wrong. But the setup query error is telling you that zenphoto is not permitted to access the database with the credentials you gave it. The debug log is showing that zenphoto attempts to start up and load the "root plugins" (such as the class-video one) but not getting past this point. The nightly build now includes a timestamp in the logs, so this might help some in interpretation. I would suggest you configure your PHP so that it displays its errors on the WEB page itself. Maybe that will show something. 1.2.8 Installation and permission - olihar - 2010-02-11 How I see it is that as soon as I open up setup.php there is no info about database, therefor I get this
1.2.8 Installation and permission - olihar - 2010-02-12 The hosting company changed the settings for PHP 5 Handler from dso to cgi That fixed the permission issues. But there is still a blank page, after saving the zp-config. Still waiting for further response from hosting company. EDIT: Could the mysql version of 4.1.22 be some kind of problem. PHP Version is 5.2.6 so that should not be a problem. 1.2.8 Installation and permission - sbillard - 2010-02-12 There definately could be an issue with the PHP version as we have not tested with so low a level. Still, there should be a PHP script error reported. 1.2.8 Installation and permission - olihar - 2010-02-12 Well, hosting company is pointing fingers now. " It is not a php issue at all. We would advice you to please contact your web developer and request to look into the issue. Really strange issue this blank page stuff. 1.2.8 Installation and permission - olihar - 2010-02-13 Ok, this is very, very strange, I decided to install very old version of zenphoto-1.1.7 from 01-Jul-2008. That one worked without a problem and I then updated it to the 1.2.8 version and everything seem to be working fine. I am getting an error that I never managed to see before as when I saved sql setting before I just got a blank page. Now I get. ` Version 4.1 or greater is required. Use a lower version at your own risk. Then I get this error I remember I used to get long time ago. ` images->id, images->albumid, images->commentson, images->show, images->date, images->sort_order, images->height, images->width, images->mtime, images->hitcounter, images->total_value, images->total_votes, images->thumbX, images->thumbY, images->thumbW, images->thumbH, images->rating, images->rating_status, images->hasMetadata, albums->id, albums->parentid, albums->date, albums->show, albums->closecomments, albums->commentson, albums->mtime, albums->sort_order, albums->image_sortdirection, albums->album_sortdirection, albums->hitcounter, albums->total_value, albums->total_votes, albums->dynamic, albums->rating, albums->rating_status are not UTF-8. You should consider porting your data to UTF-8 and changing the collation of the database fields to utf8_unicode_ci 1.2.8 Installation and permission - acrylian - 2010-02-13 Yes, you probably need to change that on the database itself. 1.1.7 is quite old and a lot chaned. The reason for this error is that the table fields an be in a different collation/charset than the columns/fields itself. Info about collactions: |