Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1] 2   Go Down

Author Topic: Page Cannot be found Error CPG 1.1D/php 6.5  (Read 16519 times)

0 Members and 1 Guest are viewing this topic.

regie

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Page Cannot be found Error CPG 1.1D/php 6.5
« on: October 19, 2003, 08:19:55 am »

Hi,
I'm using CPG 1.1D/phpnuke 6.5/Fiblue 3d theme and am having some trouble... some links point to the main phpnuke page, while others cannot be found. Any suggestions?
TIA
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #1 on: October 19, 2003, 04:11:20 pm »

How about a link to your site?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

regie

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #2 on: October 19, 2003, 06:44:29 pm »

Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #3 on: October 19, 2003, 07:58:22 pm »

Theme is for Standalone Coppermine not for phpNuke intergration.

Edit the theme.php and correct the links in there.
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

regie

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #4 on: October 19, 2003, 09:58:04 pm »

I've had a look at theme.php, and my html/php skills are very limited, so I'm not sure as to which entries to make changes to. Any assistance you might be able to give me would be greatly appreciated.
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #5 on: October 20, 2003, 12:05:03 am »

Ok i fast made the changes so here are the 2 edited files for FiBLUE 3D.

- template.html
- theme.php

Just changed the links ???.php to modules.php?name=coppermine&file=???

http://www.mp3tunes.nl/coppermine/fiblue3d.zip

[size=18]Note:[/size] Not tested all links just post a bug here :D
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

regie

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #6 on: October 20, 2003, 12:20:45 am »

Thank you for making the changes. I loaded those files to the coppermine/themes folder and now receive the following error.

Parse error: parse error in /usr/local/apache/htdocs/html/modules/coppermine/themes/fiblue3d/theme.php on line 1430
Template error
Failed to find block 'login'(#(<!-- BEGIN login -->)(.*?)(<!-- END login -->)#s) in :

TIA for all your help.
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #7 on: October 20, 2003, 12:31:51 am »

Did you upload the 2 files to the /usr/local/apache/htdocs/html/modules/coppermine/themes/fiblue3d/ so it replaced /usr/local/apache/htdocs/html/modules/coppermine/themes/fiblue3d/template.html
and
/usr/local/apache/htdocs/html/modules/coppermine/themes/fiblue3d/theme.php

????????????????????????

Cos i don't get an error
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

regie

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #8 on: October 20, 2003, 12:43:53 am »

It seems when i tried to upload them on my ftp the first time it didnt over write them... so i deleted those and re-uppped them. So yes, they are working now. THANK YOU!
Logged

regie

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #9 on: October 20, 2003, 12:56:50 am »

Seems the borders for it got messed up somewhere along the line.. but thats ok, it works great... thank you again for all your help. :D
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #10 on: October 20, 2003, 12:58:36 am »

Ah i've found bug, creator of theme forgot to close a table.

Download again and replace template.html (that's the one i edited)
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

regie

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #11 on: October 20, 2003, 01:29:24 am »

You are awesome, it looks great! thank you! thank you! thank you!
Logged

regie

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #12 on: October 20, 2003, 02:25:33 am »

Sorry to be such a bother.. I have one more question...
Under the "Configuration - Coppermine Photo Gallery 1.1.0" menu, the text font color is the same as the background color, therefor I cant see the input, any suggestions?  :roll:
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #13 on: October 20, 2003, 03:31:52 am »

Open: modules/coppermine/themes/fiblue3d/style.css

Find and delete:
Code: [Select]
.textinput {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 100%;
        border: 1px solid #A3AAB4;
        padding-right: 3px;
        padding-left: 3px;
        background-color : #DEDEDE;
}

.listbox {
        font-family: Verdana, Arial, Arial, Helvetica, sans-serif;
        background-color : #DEDEDE;
        font-size: 100%;
        border: 1px solid #A3AAB4;
        vertical-align : middle;
}


or change:
Code: [Select]
       background-color : #DEDEDE;
into:
Code: [Select]
       background-color : #003e5e;
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

regie

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #14 on: October 20, 2003, 06:47:47 am »

Thank you DJ, your the best  :D
Logged

regie

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #15 on: October 20, 2003, 07:11:25 am »

Now I'm getting this error when trying to upload...

Destination directory www.warez-group.commodules/coppermine/albums/userpics/ is not writable by the script !

It appears there is a "/" missing between www.warez-group.com and modules...

Any suggestions?
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #16 on: October 20, 2003, 04:06:54 pm »

Check if the "modules/coppermine/albums/userpics/" has write access (CHMOD 777 or 766)

If above is ok then:

Open db_input.php and go to line 218 and check if it is exactly like this
Code: [Select]
               $filepath = $CONFIG['userpics'].(USER_ID+FIRST_USER_CAT);
            // $dest_dir = $CONFIG['fullpath'].$filepath;
                $dest_dir =$filepath;


else

Post a sceencapture of your http://www.warez-group.com/modules.php?name=coppermine&file=config

I think you forgot a slash in the configuration itself.
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

regie

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #17 on: October 20, 2003, 07:46:28 pm »

Hi DJ,
I did as you suggested and "modules/coppermine/albums/userpics/" permissions are correct. I also checked db_input.php on line 218, and it is as you posted. You were right, it didnt have the path typed correctly in my config file. So now the path is correct, but I'm getting this error:

Failed to create directory www.warez-group.com/modules/coppermine/albums/userpics/10007 !

Warning: mkdir(www.warez-group.com/modules/coppermine/albums/userpics/10007): No such file or directory in /usr/local/apache/htdocs/html/modules/coppermine/db_input.php on line 222

I posted the screenshots at www.warez-group.com/screenshots.htm

TIA
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #18 on: October 20, 2003, 09:57:01 pm »

sorry but your screen capture didn't had the part i needed so here my solution:

- go to coppermine config screen
Pictures and thumbnails advanced settings:
- The album directory = modules/coppermine/albums/
- The directory for user pictures = modules/coppermine/albums/userpics/

NOT www.something before those settings
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

regie

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Page Cannot be found Error CPG 1.1D/php 6.5
« Reply #19 on: October 20, 2003, 10:20:07 pm »

Hello again, i went to config and changed those fields as you suggested.. and after all we've done the past two days, check this error out:

PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed

 :roll:

Is there a work around for this issue, as it is not installed, nor will it be...
Logged
Pages: [1] 2   Go Up
 

Page created in 0.022 seconds with 14 queries.