Error when updating avatars

Status
Not open for further replies.

system32

Active Member
184
2008
0
0
On my forum. Evey time a member tries to update there avatar. Either upload one from there computer or from a website they get either one of these messages:

i) Invalid URL
ii) Unable to move/copy file


Why is this?
 
13 comments
Could be a number a reasons... anything in the error_log? Was it previously working and just up and broke? What are the current PHP settings?
 
look for the file error_log under public_html or where your forum root it. (different hosts have different ways of storing error logs.

(Not necessary, but can help depending on the situation)
Create phpinfo.php and add:
<?php phpinfo(); ?>

If you can find an error_log, what are the permissions of the directories that store the uploaded files?
 
I found the error_log file but its 65MB. Downloading now, but where do I find permissions of the directories that store uploaded files?

Also, what would you like to know from the phpinfo file?
 
Folders should be chmod 744 for uploads or 777(depends on server setup).

Post the last couple of lines in the error_log
 
safe mode enabled ?
then create a temp folder in public_html directory and give to 744 or 777 permissions ..
and then select safe mode upload in vBulletin admin cp options
 
Ok. I have added the temp folder and CHMOD it to 777 permissions. I can upload avatars fine now from my computer, but can not from Enter the URL of the image. I keep getting this message:

Upload failed due to failure writing temporary file

Edit: Here is the last few lines from the error_log:
Code:
[25-Jun-2009 02:38:23] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Failed opening '/404.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /vbseo.php on line 1570
[25-Jul-2009 18:57:06] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/functions_post_thanks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /class_postbit.php(265) : eval()'d code on line 1
[25-Jul-2009 18:57:08] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/functions_post_thanks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /class_postbit.php(265) : eval()'d code on line 1
[25-Jul-2009 18:57:21] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/functions_post_thanks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /class_postbit.php(265) : eval()'d code on line 1
[25-Jul-2009 18:57:21] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/functions_post_thanks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /class_postbit.php(265) : eval()'d code on line 1
[25-Jul-2009 19:21:29] PHP Warning:  require_once() [<a href='function.require-once'>function.require-once</a>]: Unable to access /hclass_core.php in /init.php on line 45
[25-Jul-2009 19:21:29] PHP Warning:  require_once(/class_core.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /init.php on line 45
[25-Jul-2009 19:21:29] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/class_core.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /init.php on line 45
[25-Jul-2009 19:28:50] PHP Warning:  include_once() [<a href='function.include-once'>function.include-once</a>]: Unable to access /config.php in /vbseo.php on line 17
[25-Jul-2009 19:28:50] PHP Warning:  include_once(/config.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /vbseo.php on line 17
[25-Jul-2009 19:28:50] PHP Warning:  include_once() [<a href='function.include'>function.include</a>]: Failed opening '/config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /vbseo.php on line 17
[25-Jul-2009 19:28:50] PHP Warning:  include_once() [<a href='function.include-once'>function.include-once</a>]: Unable to access /config.php in /vbseo.php on line 17
[25-Jul-2009 19:28:50] PHP Warning:  include_once(/config.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /vbseo.php on line 17
[25-Jul-2009 19:28:50] PHP Warning:  include_once() [<a href='function.include'>function.include</a>]: Failed opening '/config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /vbseo.php on line 17
[25-Jul-2009 19:28:50] PHP Warning:  include_once() [<a href='function.include-once'>function.include-once</a>]: Unable to access /config.php in /vbseo.php on line 17
[25-Jul-2009 19:28:50] PHP Warning:  include_once() [<a href='function.include-once'>function.include-once</a>]: Unable to access /config.php in /vbseo.php on line 17
[25-Jul-2009 19:28:50] PHP Warning:  include_once(/config.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /vbseo.php on line 17
[25-Jul-2009 19:28:50] PHP Warning:  include_once(/config.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /vbseo.php on line 17
[25-Jul-2009 19:28:50] PHP Warning:  include_once() [<a href='function.include'>function.include</a>]: Failed opening '/config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /vbseo.php on line 17
[25-Jul-2009 19:28:50] PHP Warning:  include_once() [<a href='function.include'>function.include</a>]: Failed opening '/config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /vbseo.php on line 17
[25-Jul-2009 19:28:50] PHP Warning:  include_once() [<a href='function.include-once'>function.include-once</a>]: Unable to access /config.php in /vbseo.php on line 17
[25-Jul-2009 19:28:50] PHP Warning:  include_once(/config.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /vbseo.php on line 17
[25-Jul-2009 19:28:50] PHP Warning:  include_once() [<a href='function.include'>function.include</a>]: Failed opening '/config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /vbseo.php on line 17
 
Nothing in the error log points to a problem with getting the image via url... Try this for me. Delete error_log so that there is nothing in it, then attempt to upload images via url from a couple of different sources, then post the error_log.
 
Then we can rule out PHP related errors... I'm not sure how vB is attempting to get the image, but the only other option I can think of is the server is preventing access out to grab the image.

You may need to talk to your host and have them look into the issue.
 
Status
Not open for further replies.
Back
Top