View Full Version : ERROR MESSAGE while trying to upload
Jussuff
4th of February 2004 (Wed), 10:58
Hi,
when I tried to upload (UPLOAD TO DATABASE) I got the following error message:
Warning: fopen(UPLOAD/09020008.JPG): failed to open stream: Permission denied in /home/www/webXXX/html/ee/input/ftp.php on line 1099
Warning: fstat(): supplied argument is not a valid stream resource in /home/www/webXXX/html/ee/input/ftp.php on line 1100
Warning: fclose(): supplied argument is not a valid stream resource in /home/www/webXXX/html/ee/input/ftp.php on line 1107
...
Does anybody have idea what I might doing wrong?
Thanks for assistance.
Pekka
4th of February 2004 (Wed), 14:04
What does ftp test page say?
This might be the same problem photocroatia had - php caches resources and there seems to be bug in that system. Only remedies to that are to boot the server, or change name of upload page (menu link must be changed, too) or wait for 1.5RC which has internal ftp system with its own resources.
Jussuff
5th of February 2004 (Thu), 02:08
FTP server test is O.K., so is EE Home FTP server! (everything "green" and "o.k.")
Another error message I just detected is the following:
Warning: fopen(UPLOAD/09020008.JPG): failed to open stream: Permission denied in /home/www/webxxx/html/ee/fetchsettings.php on line 1802
Warning: fstat(): supplied argument is not a valid stream resource in /home/www/webxxx/html/ee/fetchsettings.php on line 1803
Warning: fclose(): supplied argument is not a valid stream resource in /home/www/webxxx/html/ee/fetchsettings.php on line 1810
This message appears when I try to go to the "Resize Method Editor". Does this help anyone to get an idea solving my problem? Thanks in advance.
:cry:
Do I really have to wait until next version will be released?
Pekka
5th of February 2004 (Thu), 02:49
It seems like install error.
Set directory permissions to 777 for
input/UPLOAD
input/UPLOAD/test
input/UPLOAD/ee_temp_upload
(see http://photography-on-the.net/ee/beta/index.php?install=1 )
I also note from error lines that you have beta 4. Please update to latest beta when reporting bugs.
Jussuff
5th of February 2004 (Thu), 04:06
chmod checked: they were o.k.
A few minutes ago I have succesfully ("When you have got so far ...") updated to 1.5 beta 5. But when I now try to go to the editor index menu ("GO ONCE TO EDITOR INDEX PAGE AFTER UPDATE.") or another page either from admin area or from website page itself, I get the following information:
Error in performing query fetch_one: Unknown column 'ee_use_custom_list_settings' in 'field list'
When go to my website, you will receive this message after clicking on one of the thumbnails. I have still opened my admin screen window, but when I cklick on any link on this page, I will receive the above mentioned message. So at the moment it looks like I can only access the site via ftp . :cry:
Any idea where to go now or change this?
Thanks and sorry for bothering with my installation so often.
TomKa
5th of February 2004 (Thu), 04:25
from Pekka: Oh, you've forgotten to run 15_b4_fix_pack_2.php from EE15_b4_fix_2.zip
...the forum has a nice search feature... :wink:
Jussuff
5th of February 2004 (Thu), 05:08
@ TomKa
thank you for your hint! Now I did the whole fix pack procedure from running 15_b4_fix_pack_2.php and the following steps of course (incl. uploading the relevant files etc.). At the moment the website itself seems to be running again.
@all
The only ( :cry: ) things that are still there:
When I try to upload (UPLOAD TO DATABASE) I got this error message.
Warning: fopen(UPLOAD/09020008.JPG): failed to open stream: Permission denied in /home/www/webXXX/html/ee/input/ftp.php on line 1117
Warning: fstat(): supplied argument is not a valid stream resource in /home/www/webXXX/html/ee/input/ftp.php on line 1118
Warning: fclose(): supplied argument is not a valid stream resource in /home/www/webXXX/html/ee/input/ftp.php on line 1125
...
And when attempting the resize method editor the following message is shown:
Warning: fopen(UPLOAD/09020008.JPG): failed to open stream: Permission denied in /home/www/web314/html/ee/fetchsettings.php on line 1855
Warning: fstat(): supplied argument is not a valid stream resource in /home/www/webXXX/html/ee/fetchsettings.php on line 1856
Warning: fclose(): supplied argument is not a valid stream resource in /home/www/webXXX/html/ee/fetchsettings.php on line 1863
...
So I still can't add anything new to the database.
Pekka
5th of February 2004 (Thu), 05:23
If you have 777 on the folders I mentioned, then one explanation is that you have PHP safe mode on AND those folders are not owned by UID which is running the apache/PHP process:
http://fi2.php.net/manual/en/function.fopen.php
-----------------------
Note: When safe mode is enabled, PHP checks whether the directory in which you are about to operate has the same UID (owner) as the script that is being executed.
-----------------------
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.