Judging by the experiences with yahoo hosting, I'm sorry I recommended it to a person I designed a site for. Regardless... here's my problem which doesn't seem to have been brought up before.
I did a fresh install with their control panel.
I didn't touch a thing. I just logged in and tried to upload a photo "From Web Browser".
What happens is that the form refreshes, but the image isn't uploaded, there are no error messages or the "success" message, and the form inputs and buttons are gone. The rest of the html instructions are all that's on the page.
Uploading "from local server" yields the same result, but... "From Web Page" upload does work - the photo is added. Hmmmm. Permissions are 755 on my g2data folder.
Here's my system information:
Gallery version = 2.0.1 core 1.0.0.1
PHP version = 4.3.11 cgi-fcgi
Webserver = Apache/1.3.33 (Unix) FrontPage/5.0.2.2510 mod_fastcgi/2.4.2
Database = mysql 4.1.14
Toolkits = Exif, NetPBM, Gd
Operating system = FreeBSD hostingprod.com 4.11-YAHOO-20051118 FreeBSD 4.11-YAHOO-20051118 #0: i386
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Should I attach my debug output? I don't see anything that screams "error!"
Posts: 32509
FAQ: Why can't I upload big files (over a megabyte or two)?
you can check your phpinfo file to see the limits.
Posts: 16
The test image I tried to upload was only 5k.
Posts: 32509
please post a phpinfo link and try again with another very small image.
Posts: 16
*removed link to phpinfo*
Attached is the image I tried to upload.
Posts: 16
And here's the result of what I see....
Posts: 32509
yep, php config looks fine.
and the screenshot shows a weird state.
can you please try g2.1.2 instead of g2.0.2?
Posts: 16
I'm going to jot down what I'm doing as I go along... maybe somebody else might find it useful.
I'm going to remove the yahoo installation and start fresh.
I deleted the directory yahoo made, and installed phpMyAdmin with the control panel and dropped the database.
If anybody else does this, don't forget that you loose everything. There's no upgrade build to go from yahoo's old version up to 2.1.2.
I grabbed the latest mimimal build of 2.1.2, unzipped locally, and uploaded by ftp.
(Damn this is slow. I wish you could untar with the control panel.)
Hmm... ftp won't allow .htaccess files because they start with a period. No problem - Valiant explains it here:
http://gallery.menalto.com/node/30903
I'm following along with the installer guide - "Installing Gallery2", from step 2 here:
http://codex.gallery2.org/index.php/Gallery2:How_do_I_Install_Gallery2
Step 2, open the install directory.
Hmm.... I get this in the header:
Well that can't be good because I can't create the directory manually in the root of the virtual host directory because yahoo won't accept an underscore.
Hmm... phpinfo says session support is enabled.
Let's push the "Continue" button anyway.
Step 3, create the login.txt. Ok.
Huh? Ok. Try it again. Maybe I didn't save the .txt file or something dumb.
Oh.
Hey, now that's just darn polite of you to offer. Let's try that.
Frig. Let's try google.
http://gallery.menalto.com/node/55308
Ok. I'm not getting safe mode errors, I'll clear my cookies and try again.
Frig again. A guy in here says to try starting the installer over again:
http://gallery.menalto.com/node/36734
Let's try that.
Sigh. I'm off to google-land, but I'm not hopeful.
Posts: 32509
there's your problem.
it looks like yahoo's session support isn't configured correctly.
in install/index.php (or upgrade/index.php, depending on what you're doing), add
error_reporting(E_ALL);
ini_set('session.save_path', dirname(__FILE__) . '/../phpsessions');
right after <?php
and then create a folder phpsessions in your gallery2 folder and chmod it 777.
hope that helps.
don't forget to delete that folder again, never expose sessionIds in the web, it's a security risk.
Posts: 16
Good eye, Valiant. That helps.
It was trying to write to the server root, huh.
I made it past the next few steps.
At the database setup, I use mysql as the db host name - not "localhost" as is the default.
Gallery is installed, images upload, my previous problem doesn't happen. All is well. Thank you!!!