PDA

View Full Version : Images upload but not redirected to the index after upload


lakeoffire
03-06-2007, 02:28 AM
Ok I see this issue all over the place. I have tried everything I have seen suggested.

My permissions for the image folder are all 777

The photoplog link in the admin cp is set correctly with
Content visible to registered users only.
The upload directory is set as the default
Content visible to registered users only.
I have added the
Content visible to registered users only.
before the define in the config file. I get no errors.

I added the
Content visible to registered users only.
After
Content visible to registered users only.
in the functions.php. I get no errors.

My config file is set correctly with
Content visible to registered users only.
Leaving out the whole path for my own peace of mind. Using XXX you get the idea.

My problem is that everything works fine, however when I pick my file, name it and pick catagory etc, I hit upload. The page loads for a second and then goes to a
Content visible to registered users only.
The url in the addy bar is still
Content visible to registered users only.

If I manually go back to the index.php page then the image I was trying to upload, went through fine and is there in my gallery. It is like for some reason the redirect to the index.php is not working.

Suggestions?

:::EDIT:::
I only set the admin permissions for now, and all options are set "yes"

Morgan
03-07-2007, 02:09 PM
Look at your server access logs to see what page is being requested upon redirection. Also check any htaccess files, and see if there are any plugins using the header_redirect hook.

Uegnet
03-26-2007, 06:27 PM
Hm, seems like I get the same thing .. only not the "cannot be displayed".
I choose file, category, type title/description and press upload.
It loads and return to the upload page. Nothing is listed up on "Home"/index, and the image folder is empty. ^_^
I'm not sure what access logs are, or if I can access them. :rolleyes:

http://uegnet.net/forum/galleri/index.php
(Persmission set so you can upload without login)

Morgan
03-26-2007, 09:59 PM
It looks like you have an htaccess file that redirects www. uegnet.net to uegnet.net so try taking out the www. from the ACP PhotoPlog Link setting.

Uegnet
03-27-2007, 10:23 AM
Thank you, mister wizard!