![]() |
|
Strange (to me) problem with sub-domains - 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: Strange (to me) problem with sub-domains (/thread-1219.html) |
Strange (to me) problem with sub-domains - SugarRic - 2007-02-28 I have an odd (I think) problem with an installation using a sub-domain. The gallery shows up fine, but when I log in as admin using the sub-domain, I cannot upload pictures and I can't edit the albums. I get the php warning error 'unable to create temporary file in unknown on line 0' If I use the actual path info to log in as admin, I can upload and edit, but all the pics show as red x's (in the admin section, the gallery show's fine)(also uploading via ftp works fine). Gallery is at http://photos.lordhigh.com/ To make it even more confusing, I have another gallery loaded on the same server that does not use sub-domain remapping, and it works without a hitch. ( http://www.lordhigh.com/gallery/ ) Thanks for any help - I'm off to work now so it will be a few hours before I see any responses. (I should add that this is with version 1.0.7, jsut downloaded yesterday.) Strange (to me) problem with sub-domains - trisweb - 2007-02-28 Can I possibly have the admin user/pass? I don't have a developer's backdoor I can use ;-) you may e-mail it to me at trisweb at this domain if you like. Strange (to me) problem with sub-domains - SugarRic - 2007-03-01 Yup, it's on it's way. Thank you. Strange (to me) problem with sub-domains - trisweb - 2007-03-01 Ahh, okay, I think see what's happening. It is indeed strange that you can't upload when using a subdomain, I'll have to look at that, and it's probably a bug if uploading works without a subdomain... Check your permissions on the /albums directory first of all... I'll see what I can find bug-wise. Strange (to me) problem with sub-domains - SugarRic - 2007-03-01 I checked the permissions for the albums directory, they were set at 755 (which, btw, works fine on the other installation) so I changed them to 777 and tried again with the same results (no upload). It's not really a huge problem because as I mentioned, ftp works fine and I can edit descriptions and titles 'on the fly' - which works, confusing me even more. And even the subdomain is just a desire, not a necessity for me. I appreciate your efforts very much. Thanks, Strange (to me) problem with sub-domains - trisweb - 2007-03-01 I'll check the diferences in upload between subdomain and not, we'll see what the problem is Until then, as you say, keep using FTP, it'll work fine. And go ahead and delete the test album I made. Also, I've deleted your account info, no worries. Strange (to me) problem with sub-domains - SugarRic - 2007-03-01 Thank you. I wasn't concerned anyway, I figured you were pretty trustworthy. Strange (to me) problem with sub-domains - SteveMoody - 2007-03-01 I've got a test version of Zenphoto set up on a subdomain so i just tried to upload some images via the admin interface and it seemed to work fine for me. I am using a version from svn though rather than 1.0.7. Strange (to me) problem with sub-domains - trisweb - 2007-03-01 SugarRic, try out the 1.0.8 that was released today, see if that does it. Strange (to me) problem with sub-domains - SugarRic - 2007-03-01 Okey-Doke, I'll give it a try. Thanks. Strange (to me) problem with sub-domains - SugarRic - 2007-03-01 Nope - no go. This is what my error log shows: PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0 Does this make it any clearer? :p Strange (to me) problem with sub-domains - SugarRic - 2007-03-01 Just as an FYI - I set up another on the same server without the subdomain and I'm showing the same error message, except this time the photos upload. Confusing. Strange (to me) problem with sub-domains - mav - 2007-11-26 I'm getting this same problem with current ZenPhoto 1.1.2. Does it mean that this problem hasn't been addressed and we can't use subdomains for zenphoto galleries? Strange (to me) problem with sub-domains - sbillard - 2007-11-26 Subdomains work fine with zenphoto see: http://albums.sbillard.org/ The error SugarRic has posted is a problem with zenphoto starting a session. That has to be some kind of server configuration problem. Strange (to me) problem with sub-domains - mav - 2007-11-26 Ouch, I posted into a wrong thread. I guess I got carried away by the fact that I got the session start error as well, though that one was easy to resolve by editing php.ini provided by my webhost. I still have a problem with photo uploads not actually uploading selected files through the admin interface in zenphoto. RewriteBase is set to /. Strange (to me) problem with sub-domains - mav - 2007-11-26 sbillard, Would you be so kind to share your php.ini and zenphoto config (without the confidential information, of course)? If this is my webhosting server config problem then I somehow need to find out what's wrong as admin interface file upload doesn't work for anyone of the 4 zenphoto galleries I set up for family and friends. Strange (to me) problem with sub-domains - sbillard - 2007-11-26 The zp-config.php file is identical to the one in the distribution except for the password information. PHP version is 4.4.7 I suggest you contact your hosting service for support on this. |