View Full Version : Directory Does Not Exist
lucien
11-02-2005, 08:21 AM
HI. Just installed PixelPost, and was very excited when I got to my Admin page so I could start uploading, but haven't been able to...
here's my info:
Pixelpost Version
You are running version 1.4.2 of Pixelpost. Released 18 July 2005
Host Information
PHP-version 4.4.0 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.1.14-standard (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib bundled (2.0.28 compatible) with JPEG support
Server software Apache/1.3.6 (Unix) FrontPage/4.0.4.3
EXIF Pixelpost is using exifer v1.5 for EXIF information.
Paths
Guessed imagepath: /www/mondolucien/cgi-binimages/
Configured Imagepath ../images
Image Directory: Does Not Exist (should be ../imagesimages) - Thumbnails folder not writable!
You must set correct permissions on this folder or you will not be able to create any thumbnails.
Set the folder to chmod 777 (read, write and execute permissions for owner, group and world).
Thumbnails Directory: Does Not Exist (should be ../imagesthumbnails) -
Language Directory: Does Not Exist (should be ../imageslanguage)
Addons Directory: Does Not Exist (should be ../imagesaddons)
Includes Directory: Does Not Exist (should be ../imagesincludes)
Templates Directory: Does Not Exist (should be ../imagestemplates)
-------
1) why is my guessed images path: cgi-binimages?
I tried that, and it didn't work
2) I can see all the folders in my database folder that I set up, including the images and thumbnails folders in my ftp. Why am I getting that directory does not exist?
3) I set up the permissions as specified to both folders, images and thumbnails, to chmod 777. AND I verified it with my host tech support.
4) How can I let pixel post see the directories?
When I go to upload an image, it seems like it's uploading it, but nothing shows up. I even looked in the images folder itself, and nothing..
I tried changing the images path to ../images as well as .../images as well as the "guessed" path of cgi-bin/images, and even a full path to my database folder in my domain
www/mondolucien/mondoflog/images and still no luck.
(mondoflog is the folder I set up for my database, and the images and thumbnails folders are in it)
????
I am at http://www.mondolucien.net/mondoflog
-------
any help would be most appreciated. Thanx/
Connie
11-02-2005, 12:39 PM
Lucien,
just a very short answer, because I am in a short break only:
this is wrong:
Guessed imagepath: /www/mondolucien/cgi-binimages/
Configured Imagepath ../images
where did you install pixelpost?
\images
\thumbnails
must be under the main folder of Pixelpost
it looks like all the folders are wrong..
Joe[y]
11-02-2005, 03:24 PM
add another slash to ../images
so should be
../images/
hope that helps!
lucien
11-02-2005, 03:43 PM
Hi. Thanx Connie and Joey:
this is the way I set it up:
I uploaded the pixelpost folder that contained all the other folders (including images and thumbnails) to my server, BUT renamed the pixelpost folder to the name of my database. Should I have kept the pixelpost folder name intact WITHIN my folder named after my database?? (in this case: mondoflog)
if you go to the following URL, you will see the folder mondoflog (renamed from 'pixelpost_1.4.2' as it was downloaded) and you see that all the folders are there. Permissions are on chmod777, guaranteed.
Should I perhaps rename that main folder back to 'pixelpost'? do I include the '_1.4.2'?
and then put the whole thing in a new folder named after my database?
here's an image of what the folder looks like:
http://www.users.cloud9.net/~lucien/mondoflog.png
THANX for any help. I can't wait to get going with this.
Joe[y]
11-02-2005, 04:12 PM
ok you can name the folder you put the pixelpost files in absolutely anything at all:
so did you try changing the configured imagepath to ../images/ ? with the last shlash!
right now it seems you have everything installed ok - have you tried uploading a new image since reconfiguring the imagepath?
lucien
11-02-2005, 05:44 PM
Ok. Joey, I did as you said, and it DID fix things in the General Info area, specifically that all the paths are now recognizable and YES to uploadable images and thumbnails folders as below:
You are running version 1.4.2 of Pixelpost. Released 18 July 2005.
Host Information
PHP-version 4.4.0 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.1.14-standard (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib bundled (2.0.28 compatible) with JPEG support
Server software Apache/1.3.6 (Unix) FrontPage/4.0.4.3
EXIF Pixelpost is using exifer v1.5 for EXIF information.
Paths
Guessed imagepath: /www/mondolucien/cgi-binimages/
Configured Imagepath ../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
BUT STILL NOTHING HAPPENS WHEN I UPLOAD. I AM BAFFLED.
If I good remember - Pixelpost cant be in CGI dirs on webserver.
It makes some configuration/functional problems (or it was like that in few situations).
lucien
11-02-2005, 06:02 PM
Hey GeoS. thanx. In my situation pixelpost is NOT in the CGI directory.. even though it says the guessed path is in the cgi-bin. That part I don't understand, what's doing the guessing on the paths??
It returns Document Root of Server which in the most of cases gives place where Pixelpost is.
PS It can be a PHP 5.xx misconfiguration problem. Try to uncomment error_reporting(0); in /index.php and copy here errors.
lucien
11-02-2005, 06:15 PM
GeoS thanx again. I opened up index.php and found on line 37 : error_reporting(0);
but I am not sure what you mean by "uncomment"? what exactly should I be doing? Sorry, I am not up to speed on code.. thanx
Sorry, Im a little tired.
Comment it, so it should to looks like:
//error_reporting(0);
lucien
11-02-2005, 06:56 PM
GeoS. Sorry you're tired.. :) but thanx for keeping up with me.
OK, I did that. and then tried to upload. Still nothing appears, and did not get any error messages. Where would the error messages appear anyway? Also, when upload DOES work, does the browser go to the main page where the new image uploaded? or does it stay in the Admin. Mine stays in the admin page, and when I go to IMAGES, I get the blank page stating that there are 0 images..
I also keep checking the Images folder on my server via FTP, and there's nothing there nor in the thumbnails.. hmmm but there are three php files in the cgi-bin, but I think that's normal.. (php, php.ini, and php.ini.backup)
lucien
11-02-2005, 07:49 PM
HI. I am reposting my last reply on the thread, because the original problem of No directory has been solved, and yet, I still cannot upload. I still have a blank page... here is where I am at: I get these error messages when I try to access my page:
Error messages:
Warning: file_get_contents(): Unable to access templates/pixelpost-light/header.html in /home/www/mondolucien/mondoflog/index.php on line 95
Warning: file_get_contents(templates/pixelpost-light/header.html): failed to open stream: No such file or directory in /home/www/mondolucien/mondoflog/index.php on line 95
Warning: file_get_contents(): Unable to access templates/pixelpost-light/footer.html in /home/www/mondolucien/mondoflog/index.php on line 96
Warning: file_get_contents(templates/pixelpost-light/footer.html): failed to open stream: No such file or directory in /home/www/mondolucien/mondoflog/index.php on line 96
Coming Soon! Nothing to show. No image to show here!
.....then...
I opened the index.php file to see lines 95 and 96 and here's what I have:
line 95 $header = file_get_contents("templates/".$cfgrow['template']."/header.html");
line 96 $footer = file_get_contents("templates/".$cfgrow['template']."/footer.html");
NOTE: I did also check to see if the templates folder is on the server, and it is.. in the same folder as all the other folders for pixelpost. and the General Info page claims that the Templates Directory is OK...
aaarrrggghhhh!!!
UPDATE:
when I look for those files ( templates/pixelpost-light/header.html) in the original folder from pixelpost, they don't exist. I am wondering if I am supposed to be doing something to create them??
any help would be appreciated. thanx
my pixelpost blog should be at
http://www.mondolucien.net/mondoflog
:confused:
Do you have correct date set in MySQL server and www server??
Check date of photo and servers system date :D
Check if your post isn't "future post".
lucien
11-02-2005, 08:59 PM
GeoS
of course i checked that already. My posts are for NOW, and the dates are correct. As for the MySQL server and www server dates, I can't imagine why they would be incorrect. It's a pretty reliable hosting company..
I went and created a header.html and a footer.html and added them into the templates folder (the one I am using), and now I no longer get the warning messages that these cannot be found (see two posts above).. BUT still cannot get any uploads to work.
still confused
If you want - PM to me some "maintaince password and login". Ill check it.
lucien
11-03-2005, 04:21 AM
Based on GeoS' recommendations I contacted my ISP to see what might be the problem, and they were not able to make a determination, although they are going to upgrade me to a PHP version 5.x
GeoS and I went through most of the basic stuff, and he determined that everything is installed properly, but still CANNOT UPLOAD. Nothing makes it to the Images or Thumbnails folder, and I still get the blank page with the message:
Coming Soon! Nothing to show....
I REALLY WANT THIS TO WORK.. If Anybody from the team can help. that would be awesome.
Connie: Got your message. I did post to the forum, but backed it up with a PM to you. I won't do that again.. (I didn't know, sorry). The footer and header.html issues remain, but GeoS said they are simply warnings, and not errors.. .. I just simply Cannot Upload.
I am baffled.
thanx
:)
As I wrote to you few minutes ago on email: that must be a problem with PHP.
I only dont know if there is problem with configuration or with used version :/
PS You can uncomment error_reporting(); on main page coz here all is OK. Problem is at admin side with file upload I think.
PS2 Yesterday I though that you have PHP 5.x.x and now I see 4.4.0. At my place I have same version of PHP and also as CGI part of Apache and all works OK.
One thing is that I got Apache 1.3.34 and you 1.3.6.
One more - you have strange content of variable _SERVER["SCRIPT_NAME"] - there should be script name and there isnt :/
lucien
11-03-2005, 05:08 PM
thanx again GeoS
about the "strange" content of variable _SERVER["SCRIPT_NAME"], what should the script name normally be? is it something I can manually insert?
thanx.
Hope you're having a great day..
:confused:
ADDENDUM: When I spoke to my ISP yesterday, he mentioned that perhaps the php.ini needed to be modified??
OK.. I just checked my php.ini and it was one line: Upload: "Off"
so I changed it to Upload On
and did the same thing to php.ini.backup
and that didn't change anything. still cannot upload
I am going to change my php.ini back to Off, since I don't know really if it should stay that way or not.
By the Way, I am still on php 4.4.0
you can check my php setup by going to
www.mondolucien.net/phpinfo.php
As you wrote: problem is with file_uploads = Off :/ PHP in CGI mode on Linux platform needs restart after change in configuration (php.ini) to use the new one.
@Dev team: we must add to general info page data about value of this variable - its critical issue at diagnostic process!!
Update: Ive done it at the moment :)
PS As we know now - that was the reason of not uploading file :)
lucien
11-04-2005, 05:35 AM
I Just want to thank GeoS for being so courteous and wonderful in helping me get to the bottom of my problem. Also my ISP people were very helpful, to tell me to check the php.ini file in my cgi-bin. At first I was afraid to open the file, because I don't know code. But eventually I did, and found ONE LINE OF CODE. Basically it said: Uploads: OFF
I have no idea why that was the default setting in that file, as provided by my ISP. But the DEV team, or the tech team here, should be aware of this possibility and to use it as one of the troubleshooting issues..
Thanx again GeoS. I can't wait to set up my blog.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.