View Full Version : strange path thingy
Godfried
05-27-2005, 06:20 PM
Guessed imagepath: /home/godfried/html//images/
Configured Imagepath /home/godfried/html//images/
the double //
is this normal?
and could it be the cause for not being able to upload pictures? (page just refreshes, no error)
and how do i change it?
Godfried
05-27-2005, 06:22 PM
PHP-version 4.3.1 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 3.23.58 (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib bundled (2.0 compatible) with JPEG support
Server software Apache/1.3.27 (Unix) PHP/4.3.1
EXIF Pixelpost is using exifer v1.5 for EXIF information.
Paths
Guessed imagepath: /home/godfried/html//images/
Configured Imagepath /home/godfried/html//images/
Image Directory: OK - Can we write to the directory? YES.
Thumbnails Directory: OK - Can we write to the directory? YES.
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK
this is the rest of the info
Godfried
05-27-2005, 06:28 PM
found to remove the dubble // from the configured path; but i don't know how to change the guessed one
raminia
05-27-2005, 06:40 PM
the guessed path does not do anything. it's there just for help.
strange to me;)
let it be if you don't have problems.
Godfried
05-27-2005, 06:53 PM
Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/tmp/phpX0Ue3n) is not within the allowed path(s): (/home/godfried/html/) in /home/godfried/html/admin/index.php on line 417
Warning: move_uploaded_file(/tmp/phpX0Ue3n) [function.move-uploaded-file]: failed to create stream: Operation not permitted in /home/godfried/html/admin/index.php on line 417
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpX0Ue3n' to '/home/godfried/html/images/20050527205215_cam.jpg' in /home/godfried/html/admin/index.php on line 417
got this as new error now...
is this serverbound?
Godfried
05-27-2005, 06:53 PM
Also Error; upload went without error
Godfried
05-27-2005, 07:00 PM
found other threads; suspect this is host problem
Connie
05-27-2005, 07:04 PM
Godfried,
I am sorry you run into so many problems as this is not typical for Pixelpost!
Which hoster is your site sitting on?
Have a look whether there are some security restrictions? Please try to find out..
Godfried
05-27-2005, 07:06 PM
My host is servicez.org which is really good one... Actually I'm running it on a shell-account, just contacting administrator of it atm on IRC (seems to be out)
Godfried
05-28-2005, 03:56 PM
Well; upload thingy solved
NEW problem --> when trying to access the blog (http://www.godfried.be/index.php) the page is blank with no errors --> checked the forum on topics about this but haven't found anything...
Godfried
05-28-2005, 04:20 PM
I've renamed the php file so ou guys can check out the dirstructure... i really don't see anything wrong...
Godfried
05-28-2005, 04:22 PM
whops; undid it; ppl could read my mysqlpw
Godfried
05-28-2005, 04:23 PM
deleting my site...
will reinstall it...
Connie
05-28-2005, 05:08 PM
good luck!
Godfried
05-28-2005, 05:17 PM
Done it.. no improvements... what now?
Joe[y]
05-28-2005, 05:21 PM
i see the default coming soon.. nothing to show text on your main page! this means you haven't uploaded an image yet.
have you tried uploading an image yet?
Godfried
05-28-2005, 05:23 PM
jep
deleted it.. will do it again
check now
Joe[y]
05-28-2005, 05:24 PM
congrats.... looks great! :)
Godfried
05-28-2005, 05:25 PM
file uploaded; on ftp in images; thumbnail madel everything perfect; except for the first page
Godfried
05-28-2005, 05:26 PM
congrats.... looks great! :)
i cant see a thing :shock:
i have this in source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
edit: tried on another computer --> same result
Joe[y]
05-28-2005, 05:36 PM
the doctype in that above source code is wrong for a starter... everything should be UTF-8
Godfried
05-28-2005, 05:40 PM
removed the error reporting line
got 5 new errors
Warning: file_get_contents(templates/pixelpost-light/header.html) [function.file-get-contents]: failed to create stream: No such file or directory in /home/godfried/html/index.php on line 92
Warning: file_get_contents(templates/pixelpost-light/footer.html) [function.file-get-contents]: failed to create stream: No such file or directory in /home/godfried/html/index.php on line 93
Warning: read_entry() [function.read-entry]: open_basedir restriction in effect. File(/usr/local/lib/php/makers/canon.php) is not within the allowed path(s): (/home/godfried/html/) in /home/godfried/html/includes/exifer1_5/exif.php on line 593
Warning: read_entry(makers/canon.php) [function.read-entry]: failed to create stream: Operation not permitted in /home/godfried/html/includes/exifer1_5/exif.php on line 593
Fatal error: read_entry() [function.read-entry]: Failed opening required 'makers/canon.php' (include_path='.:/usr/local/lib/php') in /home/godfried/html/includes/exifer1_5/exif.php on line 593
Joe[y]
05-28-2005, 05:42 PM
there is a problem with reading canon entries in exifer:
Warning: read_entry() [function.read-entry]: open_basedir restriction in effect. File(/usr/local/lib/php/makers/canon.php) is not within the allowed path(s): (/home/godfried/html/) in /home/godfried/html/includes/exifer1_5/exif.php on line 593
Warning: read_entry(makers/canon.php) [function.read-entry]: failed to create stream: Operation not permitted in /home/godfried/html/includes/exifer1_5/exif.php on line 593
Fatal error: read_entry() [function.read-entry]: Failed opening required 'makers/canon.php' (include_path='.:/usr/local/lib/php') in /home/godfried/html/includes/exifer1_5/exif.php on line 593
other developers help! :wink:
Joe[y]
05-28-2005, 05:48 PM
possibly a problem with the difference of Canon and CANON on line 592 in exif.php.... just testing now.
Joe[y]
05-28-2005, 05:54 PM
we foudn that stripping the exif in photoshop meant uploading would work... using the CVS version i tried with the image and the exif and it worked fine... is there a problem with php compatibilty with certain functions in exifer?
http://dev.jlspurling.com/pixelpost/1.4.1/index.php?showimage=14
this is the same image which caused the original problem... no problem on CVS version!
Joe[y]
05-28-2005, 06:02 PM
http://www.godfried.be/testphp.php
http://dev.jlspurling.com/pixelpost/1.4.1/includes/phpinfo.php
those are two urls pointing to php info... is 4.3.10 different to 4.3.1 ?? I think it must be... I really can't work out what the problem is. But it's certainly due to exif.php and some function in there which is compatible with my php and not Godfried's.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.