I feel dirty theme problem I feel dirty theme problem
 

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]

Main Menu

I feel dirty theme problem

Started by coco, January 19, 2007, 12:33:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

coco

Hi,

I am having problems with this theme at the moment.

I created a new category called Skool. After doing so the category and album links in admin mode now do not work and bring up a blank page. Also the albums seem to have been duplicated on the front page.

www.ayman.co.uk/gallery/index.php

Hope someone can help. Thanks.

Gizmo

All the links work for me so maybe clear your browser cache. As for the duplicated categories and albums, did you modify the theme.php file? Check to see if there 2 $template_cat_list variables in your theme.php
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

coco

I meant the links in admin mode not user mode when logged in.

coco

and there is only 1 $template_cat_list

Gizmo

And we're suppose to check that how??????
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

coco

Have no idea but that one of the problems. What do you suggest or would you need access?

Gizmo

Create a test user account and zip up your complete theme and post both here.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

coco


Gizmo

I didn't ask for a PM.
QuoteCreate a test user account and zip up your complete theme and post both here.

If you don't know how to create a user, the manual is a good place to start - http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#user_cp
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

coco

Don't worry thought I would make it easy for you but nevermind. Had a friend look into this giving him access and he fixed the problem. In case anyone else gets this happen here is the fix:

Simon says:
had a look in the database, and for some reason the category had been given an id of 0
Simon says:
rather than the next value
Simon says:
ohhh, i know why that is
Simon says:
autoincrement wasn't set in the table
Simon says:
so instead of mysql adding in the next id in the chain
Simon says:
it just stuck 0 in cos it didn't know any better

Joachim Müller

Not related to the "I-feel-dirty" theme, but overall gallery setup or improper upgrading/moving servers.

Thanks for returning and posting your solution. There's no need though to be impolite, Gizmo tried to be helpful and suggested the proper method to fix theme-related issues that you failed to apply.

Locking.