News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Page Cannot be found Error CPG 1.1D/php 6.5

Started by regie, October 19, 2003, 08:19:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

regie

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

kegobeer

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


DJMaze

Theme is for Standalone Coppermine not for phpNuke intergration.

Edit the theme.php and correct the links in there.
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

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.

DJMaze

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

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.

DJMaze

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

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!

regie

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

DJMaze

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)
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

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

regie

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:

DJMaze

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

Find and delete:.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:        background-color : #DEDEDE;
into:        background-color : #003e5e;
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


regie

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?

DJMaze

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
               $filepath = $CONFIG['userpics'].(USER_ID+FIRST_USER_CAT);
            // $dest_dir = $CONFIG['fullpath'].$filepath;
                $dest_dir =$filepath;


else

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

I think you forgot a slash in the configuration itself.
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

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

DJMaze

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

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...