 | [Solved] Photo album problems... |  |
Posted: 04/06/2007 2:12 PM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 9:58 AM
Location: west midlands:uk
|

|
|
|
|
 |
For the first time since christmas iv decided to add photo's to my photo album on my forum and i get an error and the photo never even added but only left the discription i added! This is the error:
| Quote:
|
Warning: copy(album_mod/upload/3aaa27afbad9c019540378355f5bc9d9.jpg) [function.copy]: failed to open stream: Permission denied in /home/toddlers/public_html/phpBB2/album_upload.php on line 488
Warning: getimagesize(album_mod/upload/3aaa27afbad9c019540378355f5bc9d9.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/toddlers/public_html/phpBB2/album_upload.php on line 504
Warning: Cannot modify header information - headers already sent by (output started at /home/toddlers/public_html/phpBB2/album_upload.php:488) in /home/toddlers/public_html/phpBB2/includes/page_header.php on line 600
Warning: Cannot modify header information - headers already sent by (output started at /home/toddlers/public_html/phpBB2/album_upload.php:488) in /home/toddlers/public_html/phpBB2/includes/page_header.php on line 602
Warning: Cannot modify header information - headers already sent by (output started at /home/toddlers/public_html/phpBB2/album_upload.php:488) in /home/toddlers/public_html/phpBB2/includes/page_header.php on line 603
|
Iv tried it both on my live forum and test both have same error!! |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Photo album problems... |  |
Posted: 04/06/2007 2:31 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:58 AM
Location: St Pete, FL
|

|
|
|
|
 |
Make sure that the album_mod/upload and album_mod/upload/cache folder permissions are set to 777...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Photo album problems... |  |
Posted: 04/06/2007 2:39 PM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 9:58 AM
Location: west midlands:uk
|

|
|
|
|
 |
| Thanks changed it and works fine, im guessing coz of changed of host it must of all changed back to 755! |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Photo album problems... |  |
Posted: 04/06/2007 2:48 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:58 AM
Location: St Pete, FL
|

|
|
|
|
 |
Yep, the folders by default would have been set to 755. YOu should also check your cache and images/avatars folders. They should also be set to 777. If you have the Attachment MOD installed, then if I'm remembering correctly, you would have a files folder and it too should be set to 777...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Photo album problems... |  |
Posted: 04/06/2007 2:50 PM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 9:58 AM
Location: west midlands:uk
|

|
|
|
|
 |
ok thanks for that  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Photo album problems... |  |
Posted: 04/06/2007 3:06 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:58 AM
Location: St Pete, FL
|

|
|
|
|
 |
As always, you are quite welcome...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Photo album problems... |  |
Posted: 04/07/2007 3:25 PM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 9:58 AM
Location: west midlands:uk
|

|
|
|
|
 |
Grrrrr another prob with uploading photo's it let me do 1 on my live site then after that i got a debug error
| Code:
|
Could not insert new entry
DEBUG MODE
SQL Error : 1062 Duplicate entry '0' for key 1
INSERT INTO phpbb_album (pic_filename, pic_thumbnail, pic_title, pic_desc, pic_user_id, pic_user_ip, pic_username, pic_time, pic_cat_id, pic_approval) VALUES ('3f6f46feb817073fbc406703e7dcc0f4.jpg', '3f6f46feb817073fbc406703e7dcc0f4.jpg', 'Birthday', '', '3', '5409a9bd', '~^Karen^~', '1175977372', '4', '1')
Line : 629
File : album_upload.php
|
It works fine on my test site iv just tried it! |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Photo album problems... |  |
Posted: 04/07/2007 3:58 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:58 AM
Location: St Pete, FL
|

|
|
|
|
 |
Try it again. Your autoincrement value wasn't set on the pic_id for some strange reason. I deleted the image and corrected the structure problem, so go ahead and try it again...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Photo album problems... |  |
Posted: 04/07/2007 4:03 PM |
|
|
|
|
|
| Citation |
| Posts |
556 |
| Word Cnt. |
20,326 |
| BDay |
Jan 26 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Nov 26, 2006
Local time: 9:58 AM
Location: west midlands:uk
|

|
|
|
|
 |
Cheers Its working fine now!!  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Photo album problems... |  |
Posted: 04/07/2007 4:15 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:58 AM
Location: St Pete, FL
|

|
|
|
|
 |
Upload a second image to make sure...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|