Sub Menu
Links Menu
Online Users

In total there are 664 users online :: 3 registered, 0 hidden and 661 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

Picture upload failing

Support for IntegraMOD 141

Moderator: Integra Moderator

Picture upload failing

PostAuthor: DDay629 » Mon Feb 12, 2007 5:11 pm

Your phpBB Version: 2.0.22
phpBB Type: phpBB / IMPortal
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: http://forum.clanpla.org

PHP Version:
MySQL Version:


What was done before the problem appeared?
The picture function in profiles refuses to upload files and when you see the upload successful page, it shows this error at the top of the page:

Warning: copy(./images/photos/130232952045d0fe8bb2d52.jpg): failed to open stream: Permission denied in /home2/clanpla/public_html/forum/profilcp/functions_profile.php on line 820

Warning: Cannot modify header information - headers already sent by (output started at /home2/clanpla/public_html/forum/profilcp/functions_profile.php:820) in /home2/clanpla/public_html/forum/includes/page_header.php on line 1156

Warning: Cannot modify header information - headers already sent by (output started at /home2/clanpla/public_html/forum/profilcp/functions_profile.php:820) in /home2/clanpla/public_html/forum/includes/page_header.php on line 1158

Warning: Cannot modify header information - headers already sent by (output started at /home2/clanpla/public_html/forum/profilcp/functions_profile.php:820) in /home2/clanpla/public_html/forum/includes/page_header.php on line 1159



What was done to try to solve the problem?
Nothing yet.



De.scription and Message

As it says, I have pretty basic knowledge, so I hope you guys can help.

DDay
Last edited by DDay629 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

DDay629
Members
Members
 
Posts: 41
Likes: 0 post
Liked in: 0 post
Joined: Wed Jan 17, 2007 10:35 pm
Cash on hand: 0.00

PostAuthor: Michaelo » Mon Feb 12, 2007 8:39 pm

As the actual upload works we can try to remove the report by placing @ in front of the function...
This is a test only but you can try it and see how you go...
Code: Select all
 OPEN] . "/$new_filename");  AND REPLACE WITH  @$move_file($photo_filename, './' . $board_config['photo_path'] . "/$new_filename");  

Let me know how it goes...
Mike
Last edited by Michaelo on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 5:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

PostAuthor: DDay629 » Mon Feb 12, 2007 10:43 pm

It doesn't actually work. It just says and thinks it does. It then doesn't show any picture.

DDay
Last edited by DDay629 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

DDay629
Members
Members
 
Posts: 41
Likes: 0 post
Liked in: 0 post
Joined: Wed Jan 17, 2007 10:35 pm
Cash on hand: 0.00

PostAuthor: Michaelo » Tue Feb 13, 2007 1:37 am

I see, I get the same report but the file does upload... will see if the guys have any input...
Last edited by Michaelo on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 5:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

Re: Picture upload failing

PostAuthor: Teelk » Wed Feb 14, 2007 12:44 am

CHMOD the folder images/photos to 777. It's missing from the install instructions.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada


Return to IntegraMOD 141

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]

cron