- b2evolution CMS Support Forums
- b2evolution Support
- General Support
- Error when uploading picture and writing comment
1 danell Aug 03, 2007 00:15
My b2evolution Version: Not Entered
I try to upload a picture in my new blogg, but I got the message:
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid/gid is 177942/177942 is not allowed to access /hsphere/local/home/cpicture/crazypictures.se/hardrock/media/blogs/hardrock owned by uid/gid 398/398 in /hsphere/local/home/cpicture/crazypictures.se/hardrock/inc/CONTROL/files/files.php on line 1043 Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/cpicture/crazypictures.se/hardrock/inc/CONTROL/files/files.php:1043) in /hsphere/local/home/cpicture/crazypictures.se/hardrock/inc/VIEW/_menutop.php on line 39
What is wrong. I Just fixed the "Only variable references should be returned-ERROR" and wonder if it is something conected to that. I changed in line 119, "$obj = & new $objtype( $row );" to get rid of it.
What could I do? What is wrong? Can somebody please help me?
When I try to write a comment this pop up:
"Notice: Only variable references should be returned by reference in /hsphere/local/home/cpicture/crazypictures.se/hardrock/inc/MODEL/dataobjects/_dataobjectlist.class.php on line 111"
What is that?
No this has nothing to do with the reference variables.
The SAFE MODE is a php setting, as I recollect it. Can you get to the php.ini of your host? Anyway Google for that topic.
Another solution could be the permissions set to the media folder. I [url=http://forums.b2evolution.net/viewtopic.php?t=12237&start=0&postdays=0&postorder=asc&highlight=]answered[/url] that topic today already. :lol:
Good luck