Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Photo album problems...
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] Photo album problems...
PostPosted: 04/06/2007 2:12 PM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 9:58 AM
Location: west midlands:uk
greatbrE.gif
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
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: Photo album problems...
PostPosted: 04/06/2007 2:31 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:58 AM
Location: St Pete, FL
peace.gif
Make sure that the album_mod/upload and album_mod/upload/cache folder permissions are set to 777...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Photo album problems...
PostPosted: 04/06/2007 2:39 PM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 9:58 AM
Location: west midlands:uk
greatbrE.gif
Thanks changed it and works fine, im guessing coz of changed of host it must of all changed back to 755!
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: Photo album problems...
PostPosted: 04/06/2007 2:48 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:58 AM
Location: St Pete, FL
peace.gif
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...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Photo album problems...
PostPosted: 04/06/2007 2:50 PM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 9:58 AM
Location: west midlands:uk
greatbrE.gif
ok thanks for that  banana
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: Photo album problems...
PostPosted: 04/06/2007 3:06 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:58 AM
Location: St Pete, FL
peace.gif
As always, you are quite welcome...

banana  banana  banana  banana  banana
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Photo album problems...
PostPosted: 04/07/2007 3:25 PM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 9:58 AM
Location: west midlands:uk
greatbrE.gif
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
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: Photo album problems...
PostPosted: 04/07/2007 3:58 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:58 AM
Location: St Pete, FL
peace.gif
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...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Photo album problems...
PostPosted: 04/07/2007 4:03 PM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 9:58 AM
Location: west midlands:uk
greatbrE.gif
Cheers Its working fine now!!  banana
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: Photo album problems...
PostPosted: 04/07/2007 4:15 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:58 AM
Location: St Pete, FL
peace.gif
Upload a second image to make sure...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1659s (PHP: 33% - SQL: 67%) - SQL queries: 58 - GZIP disabled - Debug on