Can't upload photos

kmksoulja

Joined: 2012-05-25
Posts: 6
Posted: Fri, 2012-05-25 19:35

It says I have no photos and to add some, but after the uploading process is completed, it still says "There aren't any photos here yet! Add some".

I've check the var directory and no thumbnails or images have really been uploaded. Also I've checked the error log and no errors are being reported. They are simply are not uploading and telling me that they were.

I have even tried uploading really small photos and those don't seem to work either.

I've uploaded the phpinfo file. the link for it is

http://www.strangenoize.com/gallery3/phpinfo.php

Login or register to post comments
kmksoulja

Joined: 2012-05-25
Posts: 6
Posted: Thu, 2012-05-31 18:18

Also I did install the php5.ini file. please if anybody can help me find out what's going on here? thanks!!! ***edit: sorry the link for the php info file was wrong, i fixed it. thanks***

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7893
Posted: Thu, 2012-05-31 18:53

phpinfo looks great, make sure /var is writable to the webserver:
chmod -R 0777 /full/system/path/to/var
afterwards make sure database.php is 644

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Login or register to post comments
kmksoulja

Joined: 2012-05-25
Posts: 6
Posted: Thu, 2012-05-31 19:54

thanks for helping, i followed your steps there but still not working. i've checked the uploads folder and nothing appears in there after i upload the photo. and it still says i haven't uploaded anything.

question. i have the /var folder chmoded to 777 as well as all the contents in the folder except for database.php which is 644. is this the correct way?

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7893
Posted: Thu, 2012-05-31 20:01

Check the FAQsand specifically host specific issues.
Lastly if you see nothing in var/logs then you'll have to ask your host.
We cannot guess all day.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Login or register to post comments
kmksoulja

Joined: 2012-05-25
Posts: 6
Posted: Fri, 2012-06-01 05:59

all i get in the log is

<?php defined('SYSPATH') or die('No direct script access.'); ?>

whatever this means

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7893
Posted: Fri, 2012-06-01 11:32

That is to prevent direct access by bad guys.

You'll have to ask your host.

-s

Login or register to post comments