I'm having some errors on certain links for coppermine 1.3a

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   I'm having some errors on certain links for coppermine 1.3a
lostboyca
CZ Active Member
lostboyca has been a member for over 19 year's 19 Year Member
usa.gif california.gif
Website:
Status: Offline
Joined: Aug 12, 2004
0.02 posts per day
Posts: 114
Points: 5,334
   
I'm having some errors on certain links for coppermine 1.0.3a. Can anyone please help!! For testing I have two pictures I've uploaded but can't get it approve.

Upload Approve
No image to display
File: /home2/lostboy/public_html/php/modules/coppermine/editpics.php - Line: 436

editpics.php
434 }
435
436 if (!mysql_num_rows($result)) cpg_die(INFORMATION, $lang_errors['no_img_to_display'], __FILE__, __LINE__);
437
438 if ($start + $count < $pic_count) {
439 $next_link = "<a href=\"$next_target\">{$lang_editpics_php['see_next']}</a> - ";
440 } else {

Review Commnets
There is no comment to review
File: /home2/lostboy/public_html/php/modules/coppermine/reviewcom.php - Line: 47

reviewcom.php
43 $result = db_query("SELECT count(*) FROM {$CONFIG['TABLE_COMMENTS']} WHERE 1");
44 $nbEnr = mysql_fetch_array($result);
45 $comment_count = $nbEnr[0];
46
47 if (!$comment_count) cpg_die(INFORMATION , $lang_reviewcom_php['no_comment'], __FILE__, __LINE__);
48
49 $start = isset($_GET['start']) ? (int)$_GET['start'] : 0;
50 $count = isset($_GET['count']) ? $_GET['count'] : 25;
51 $next_target = $CPG_URL . '&file=reviewcom&start=' . ($start + $count) . '&count=' . $count;
52 $prev_target = $CPG_URL . '&file=reviewcom&start=' . max(0, $start - $count) . '&count=' . $count;
53 $s50 = $count == 50 ? 'selected' : '';
54 $s75 = $count == 75 ? 'selected' : '';
55 $s100 = $count == 100 ? 'selected' : '';

Last Uploads/Last Comments/Most Viewed/Top Rated/My Favorites
Warning: Missing argument 2 for cpg_die() in /home2/lostboy/public_html/php/modules/coppermine/include/functions.inc on line 156

Warning: Missing argument 3 for cpg_die() in /home2/lostboy/public_html/php/modules/coppermine/include/functions.inc on line 156

Warning: Missing argument 4 for cpg_die() in /home2/lostboy/public_html/php/modules/coppermine/include/functions.inc on line 156

functions.inc

155 // Remplacement for the die function
156 function cpg_die($msg_code, $msg_text, $error_file, $error_line, $output_buffer = false, $header=false)
157 {
158 global $CONFIG, $lang_cpg_die, $template_cpg_die;
159 global $template;
160 // Simple output if theme file is not loaded
161 if (!function_exists('starttable')) {
162 echo 'Fatal error :<br />' . $msg_text;
163 exit;
164 }


Thank you so much...

Lostboyca



Back to top Reply with quote
#2   re: I'm having some errors on certain links for coppermine 1
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Taut has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.72 posts per day
Posts: 5530
Points: 481,695
   
before I look at your code...I'm wondering why you need to upload approve your images? you are admin, you shouldn't need to approve your own images. do you not have the upload link at all in the admin cp of coppermine? Make sure you check in the config of coppermine and make yourself admin of that module



Back to top Reply with quote
#3   re: I'm having some errors on certain links for coppermine 1
lostboyca
CZ Active Member
lostboyca has been a member for over 19 year's 19 Year Member
usa.gif california.gif
Website:
Status: Offline
Joined: Aug 12, 2004
0.02 posts per day
Posts: 114
Points: 5,334
   
What am I looking for in the config.php file? When I register as a regular user I get an error stating

Sorry there is no album where you are allowed to upload pictures

File: /home2/lostboy/public_html/php/modules/coppermine/upload.php - Line: 179



Back to top Reply with quote
#4   re: I'm having some errors on certain links for coppermine 1
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Taut has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.72 posts per day
Posts: 5530
Points: 481,695
   
are you logged in as admin? when you are, go to the coppermine section, you should see buttons that take you to the albums where you can create albums, upload images, config, etc

also did you chmod the folders that users can upload to?



Back to top Reply with quote
#5   re: I'm having some errors on certain links for coppermine 1
lostboyca
CZ Active Member
lostboyca has been a member for over 19 year's 19 Year Member
usa.gif california.gif
Website:
Status: Offline
Joined: Aug 12, 2004
0.02 posts per day
Posts: 114
Points: 5,334
   
yes I did all of that and even uploaded some images successfully and those files got uploaded to albums/userpics successfully. I also posted this issue on their website but no help icon_sad.gif



Back to top Reply with quote
#6   re: I'm having some errors on certain links for coppermine 1
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Taut has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.72 posts per day
Posts: 5530
Points: 481,695
   
this is only a temp fix. I saw you were having issues with people uploading porn images, when you go to your coppermine page, make sure you are logged in as admin, go to USERS...find yourself in the list and change the upload quota.

when your members need to add an image or a picture, they will have to have your approval by emailing you the photo and you upload the image yourself



Back to top Reply with quote
#7   Re: re: I'm having some errors on certain links for coppermi
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 60
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   


Originally posted by lostboyca @ Mon Aug 16, 2004 10:32 pm:

What am I looking for in the config.php file? When I register as a regular user I get an error stating

Sorry there is no album where you are allowed to upload pictures

File: /home2/lostboy/public_html/php/modules/coppermine/upload.php - Line: 179


For the album issue you will need to create an album in admin mode and set the preferences of the album to allow visitors to upload images.

OR

As a user, you will have to create an album under your username before you can upload any images.




_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
#8   re: I'm having some errors on certain links for coppermine 1
lostboyca
CZ Active Member
lostboyca has been a member for over 19 year's 19 Year Member
usa.gif california.gif
Website:
Status: Offline
Joined: Aug 12, 2004
0.02 posts per day
Posts: 114
Points: 5,334
   
Dauthus --

I've noticed you got a website with this to work I was wondering if we can set up a time to meet online and walk me through this. As of right now I got the uploads to work but when I click on Upload Approval I get the message below.


No image to display

File: /home2/lostboy/public_html/php/modules/coppermine/editpics.php - Line: 436


Lostboyca



Back to top Reply with quote
#9   re: I'm having some errors on certain links for coppermine 1
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 60
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
I have 1.2.2b working. I haven't tried the 1.3.0 version. Let me try it on my 'puter first and then get back with you.




_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
#10   re: I'm having some errors on certain links for coppermine 1
lostboyca
CZ Active Member
lostboyca has been a member for over 19 year's 19 Year Member
usa.gif california.gif
Website:
Status: Offline
Joined: Aug 12, 2004
0.02 posts per day
Posts: 114
Points: 5,334
   
I've upload all the files for version 1.2.2b and when I try to install I get this error stating

Forbidden
You don't have permission to access /php/modules/coppermine/install.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Version 1.0.3 isntalled fine. Please help



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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