PDA

View Full Version : Red ERROR Message on upload.. Please Help!


newtothis
01-29-2008, 03:57 PM
Hi All

installation (1.7.1) went fine, a few permissions needed changing but it all looked good.

but now coming to upload a test image i get a red ERROR message and nothing else.

here are my settings:

=========================

Host Information

URL http://www.pjl-construction.co.uk/pixelpost_v1.7.1//admin/index.php

PHP-version 4.4.7 (Pixelpost's min requirement: PHP version: 4.3.0 )

Session save path /tmp

MySQL version 4.1.20 (Pixelpost's min requirement: MySQL: 3.23.58 )

GD-lib bundled (2.0.28 compatible) with JPEG support

File Uploads to Pixelpost site are possible.

Server Software Apache/2.0.52 (CentOS)

EXIF Pixelpost is using exifer v1.5 for EXIF-information.

Paths
Guessed imagepath: /home/pjlconstruk/public_html//pixelpost_v1.7.1//images/

Configured Imagepath: ../images/

Guessed thumbnailpath /home/pjlconstruk/public_html//pixelpost_v1.7.1//thumbnails/

Configured Thumbnailpath ../thumbnails/

Image Directory: OK - Can we write to the directory? YES. Current CHMOD: 0777

Thumbnails Directory: OK - Can we write to the directory? YES. Current CHMOD: 0777

Language Directory: OK

Addons Directory: OK

Includes Directory: OK

Templates Directory: OK

================================

Can anyone suggest what to look at, or possible fixes?

thanks for your time

Newtothis..

Dkozikowski
01-29-2008, 10:08 PM
Does your site URL have two trailing // ?

Does it currently look like this: http://www.pjl-construction.co.uk/pixelpost_v1.7.1//

If so, remove one of the backslahes so it looks like this: http://www.pjl-construction.co.uk/pixelpost_v1.7.1/


Also, are you upload .jpg/.jpeg files or something else?

newtothis
01-30-2008, 09:14 AM
thanks for your help

my general info now shows this:

Paths
Guessed imagepath: /home/pjlconstruk/public_html//pixelpost_v1.7.1/images/

Configured Imagepath: ../images/

Guessed thumbnailpath /home/pjlconstruk/public_html//pixelpost_v1.7.1/thumbnails/

Configured Thumbnailpath ../thumbnails/

Image Directory: OK - Can we write to the directory? YES. Current CHMOD: 0777

Thumbnails Directory: OK - Can we write to the directory? YES. Current CHMOD: 0777

Language Directory: OK

Addons Directory: OK

Includes Directory: OK

Templates Directory: OK

and in the OPTIONS tab i have this:

url: http://www.pjl-construction.co.uk/pixelpost_v1.7.1
image path: ../thumbnails/
thumbnail path: ../images/

but i still get the same error.

i dont know if this will help but looking in from the root of the webspace i have these folders:

cgi-bin - default installation
images - the images for the main site
pixelpost_v1.7.1 - as installed
templates - dw template
services - a sub folder for html

thanks for your time and help on this.

New to this..

Dennis
01-30-2008, 09:47 AM
move all files and folders in the folder pixelpost_v1.7.1 to the root.

austriaka
01-30-2008, 04:53 PM
Dennis, he is writing "images - the images for the main site" so he should better NOT move the pixelpost files into the root directory, it could be that the images folder for the main site will be overwritten then by the empty images folder of pixelpost.

newtothis, please try to rename the pixelpost folder "pixelpost_v1.7.1" to something without dots, just "pixelpost" for example. Change the blog URL in admin options too, check the changes in Admin Info and try again

newtothis
01-31-2008, 09:24 AM
hi

many thanks for the help with this.

sorry still no joy

i have updated as below:

Guessed imagepath: /home/pjlconstruk/public_html//pixelpost/images/

Configured Imagepath: ../images/

Guessed thumbnailpath /home/pjlconstruk/public_html//pixelpost/thumbnails/

Configured Thumbnailpath ../thumbnails/

Image Directory: OK - Can we write to the directory? YES. Current CHMOD: 0777

Thumbnails Directory: OK - Can we write to the directory? YES. Current CHMOD: 0777

Language Directory: OK

Addons Directory: OK

Includes Directory: OK

Templates Directory: OK

but still the same error - trying to upload a .jpg 200px by 200px

any other ideas / suggestions please?

thanks again

New to this..

austriaka
01-31-2008, 10:56 AM
if there is still no success on uploading photos (same red error message?) please try the following:
open your admin/index.php in a normal text editor and change the line 42
error_reporting(0);
to
error_reporting(E_ALL);

Upload it to your server and try to upload a photo via Admin interface again.
Now there should be shown a bunch of error warnings and notices and (I hope) a bold error message too.
Please post it here!

dhdesign
01-31-2008, 11:24 AM
In addition to following austriaka's request to change index.php so that the errors/warnings show, you need to recheck your paths - you have a double slash after public_html - you only need a single slash. Both guessed paths should look like this:

Guessed imagepath: /home/pjlconstruk/public_html/pixelpost/images/

Guessed thumbnailpath /home/pjlconstruk/public_html/pixelpost/thumbnails/

austriaka
01-31-2008, 11:41 AM
I didn't bother too much about the double slash at this place since I have them too and my blog is working fine:
Guessed imagepath: /www/htdocs/x123x456//images/

Configured Imagepath: ../images/

Guessed thumbnailpath /www/htdocs/x123x456//thumbnails/

Configured Thumbnailpath ../thumbnails/

newtothis
02-01-2008, 08:56 AM
hi thanks for all the help.

edited the admin.php and tried an upload.

seeing lots of error messages on all screens from log in screen ect.

this is what i see when i have tried the upload:


Notice: Undefined index: pp_user in /home/pjlconstruk/public_html/pixelpost/admin/index.php on line 147

Notice: Undefined index: view in /home/pjlconstruk/public_html/pixelpost/includes/functions.php on line 879

Notice: Undefined variable: login in /home/pjlconstruk/public_html/pixelpost/admin/index.php on line 269

Notice: Undefined index: _SESSION in /home/pjlconstruk/public_html/pixelpost/admin/new_image.php on line 6

Notice: Undefined index: _SESSION in /home/pjlconstruk/public_html/pixelpost/admin/new_image.php on line 6

Notice: Undefined index: _SESSION in /home/pjlconstruk/public_html/pixelpost/admin/new_image.php on line 6

Notice: Undefined index: view in /home/pjlconstruk/public_html/pixelpost/admin/new_image.php on line 14

Notice: Undefined variable: admin_lang_pp_up_error_6 in /home/pjlconstruk/public_html/pixelpost/includes/functions.php on line 181

Notice: Undefined variable: admin_lang_pp_up_error_7 in /home/pjlconstruk/public_html/pixelpost/includes/functions.php on line 182


Notice: Undefined variable: filnamn in /home/pjlconstruk/public_html/pixelpost/admin/new_image.php on line 143

Notice: Undefined index: category in /home/pjlconstruk/public_html/pixelpost/admin/new_image.php on line 203

Notice: Undefined index: id in /home/pjlconstruk/public_html/pixelpost/includes/functions.php on line 563

Notice: Undefined variable: catcounter in /home/pjlconstruk/public_html/pixelpost/includes/functions.php on line 585

Notice: Undefined index: view in /home/pjlconstruk/public_html/pixelpost/includes/functions.php on line 593

Notice: Undefined offset: 1 in /home/pjlconstruk/public_html/pixelpost/admin/new_image.php on line 232
id="postdayaft"/>Post one day after the last post

Notice: Undefined offset: 3 in /home/pjlconstruk/public_html/pixelpost/admin/new_image.php on line 233
id="exifdate"/>Use exif date

Notice: Undefined offset: 0 in /home/pjlconstruk/public_html/pixelpost/admin/new_image.php on line 234
id="specificdate"/>Post on a specific date. Please set the date below:

i hope this helps?

re the // yes i saw that but cant see how to remove it from the paths?

thanks again
new to this..

austriaka
02-01-2008, 06:04 PM
these are only notices... they should not do any harm.
Please change your admin/index.php another time and replace the line with
error_reporting(E_ALL ^ E_NOTICE);
try again

newtothis
02-02-2008, 05:26 AM
hi austriaka

done that - but now i get no errors just the red "error" message bar.

thanks for your time and help on this.

new to this..

newtothis
02-06-2008, 12:47 PM
Hi Again

any more ideas on this one please?

maybe the // in the path is a problem - how do i change this as i cant see any where in the admin section that it is included:

Guessed imagepath: /home/pjlconstruk/public_html//pixelpost/images/

thanks for any help on this

New to this..

austriaka
02-06-2008, 07:45 PM
sorry, no idea.
I have the double slashes in my blog as well, this comes from concatinating some server strings and should do no harm.

Perhaps ask your hoster if they have restricted file upload by PHP?