Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Error on Uploading Custom Avatars and seemingly with "plupload" plugin
Avatar
Ryan
Member
sp_UserOfflineSmall Offline
May 2, 2015 - 7:12 am

Hi,

It appears there is a problem with plupload and uploading  custom avatars on my website, I'm getting a bunch of error log entries coming from simple press as as seen below:

 

[30-Apr-2015 12:17:23 Europe/London] PHP Warning - scandir(/problem-with-post-edit-buttonome/account/public_html/wp-content/forum-image-uploads/USER88/): failed to open dir: No such file or directory - file: unt/public_html/wp-content/sp-resources/forum-plugins/plupload/ahah/sp-plupload-attachments-display.php - line: 28 - function: scandir

[30-Apr-2015 12:17:23 Europe/London] PHP Warning: scandir(/problem-with-post-edit-buttonome/account/public_html/wp-content/forum-image-uploads/USER88/): failed to open dir: No such file or directory in /problem-with-post-edit-buttonome/account/public_html/wp-content/sp-resources/forum-plugins/plupload/ahah/sp-plupload-attachments-display.php on line 28

[30-Apr-2015 12:17:23 Europe/London] PHP Warning - scandir(): (errno 2): No such file or directory - file: unt/public_html/wp-content/sp-resources/forum-plugins/plupload/ahah/sp-plupload-attachments-display.php - line: 28 - function: scandir

[30-Apr-2015 12:17:23 Europe/London] PHP Warning: scandir(): (errno 2): No such file or directory in /problem-with-post-edit-buttonome/account/public_html/wp-content/sp-resources/forum-plugins/plupload/ahah/sp-plupload-attachments-display.php on line 28

[30-Apr-2015 12:17:23 Europe/London] PHP Warning - Invalid argument supplied for foreach() - file: unt/public_html/wp-content/sp-resources/forum-plugins/plupload/ahah/sp-plupload-attachments-display.php - line: 32 - function: include_once

[30-Apr-2015 12:17:23 Europe/London] PHP Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/account/public_html/wp-content/sp-resources/forum-plugins/plupload/ahah/sp-plupload-attachments-display.php on line 32

 

It seems to be trimming my account name by 4 letters in some parts...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 2, 2015 - 7:22 am

Account name? Are you referring to the USER88 part? And what should the account name be? Any odd characters on it? Something the OS can not deal with? And does the folder with the full account name exist in the server at that location?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 2, 2015 - 7:26 am

Sorry - I should have also asked what this has to do with Avatars as those warnings bear no relation to Avatars...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ryan
Member
sp_UserOfflineSmall Offline
May 2, 2015 - 7:33 am

Yellow Swordfish said

Account name? Are you referring to the USER88 part? And what should the account name be? Any odd characters on it? Something the OS can not deal with? And does the folder with the full account name exist in the server at that location?

The following:

/problem-with-post-edit-buttonome/account/public_html/

Gets replaced with:

unt/public_html/

In several places for some reason, my account name for my hosting is plain English characters. The server is using a common webserver Linux distro of centos

 

As for Avatar I meant forum uploads, my bad.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 2, 2015 - 8:42 am

That is, I believe you will find, a red herring and has to do with a truncation issue in the error message handling. The warning is actually stating that this folder:

/problem-with-post-edit-buttonome/account/public_html/wp-content/forum-image-uploads/USER88/

does not exist.

So the question is still the same. Does it exist? If so - it may be the permission setting that is stopping it being read. Or - if it does not exist, it might be the permission stting that is stopping it being created. Can you find which it is?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ryan
Member
sp_UserOfflineSmall Offline
May 2, 2015 - 1:52 pm

Yellow Swordfish said

That is, I believe you will find, a red herring and has to do with a truncation issue in the error message handling. The warning is actually stating that this folder:

/problem-with-post-edit-buttonome/account/public_html/wp-content/forum-image-uploads/USER88/

does not exist.

So the question is still the same. Does it exist? If so - it may be the permission setting that is stopping it being read. Or - if it does not exist, it might be the permission stting that is stopping it being created. Can you find which it is?

The forum image uploads exists but the individual username folders don't exist, i don't see why it can't make them.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
May 2, 2015 - 2:18 pm

What are the permissions on the forum-image-uploads folder?

Avatar
Ryan
Member
sp_UserOfflineSmall Offline
May 2, 2015 - 3:56 pm

Ike said
What are the permissions on the forum-image-uploads folder?

Hi Ike,

Here are the current permissions.

Image Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 2, 2015 - 11:06 pm

and for sp-resources? same?  also for both, what is the uid/gid?  again, compared to wp-content...

Avatar
Ryan
Member
sp_UserOfflineSmall Offline
May 8, 2015 - 7:25 am

Mr Papa said
and for sp-resources? same?  also for both, what is the uid/gid?  again, compared to wp-content...

sp-resources is 755, exactly the same as that last one.

I have no idea about uid/gid... where do I find that?

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625