coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: coco on January 19, 2007, 12:33:17 PM

Title: I feel dirty theme problem
Post by: coco on January 19, 2007, 12:33:17 PM
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.
Title: Re: I feel dirty theme problem
Post by: Gizmo on January 19, 2007, 12:45:12 PM
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
Title: Re: I feel dirty theme problem
Post by: coco on January 19, 2007, 12:51:44 PM
I meant the links in admin mode not user mode when logged in.
Title: Re: I feel dirty theme problem
Post by: coco on January 19, 2007, 12:53:02 PM
and there is only 1 $template_cat_list
Title: Re: I feel dirty theme problem
Post by: Gizmo on January 19, 2007, 12:53:50 PM
And we're suppose to check that how??????
Title: Re: I feel dirty theme problem
Post by: coco on January 19, 2007, 12:57:46 PM
Have no idea but that one of the problems. What do you suggest or would you need access?
Title: Re: I feel dirty theme problem
Post by: Gizmo on January 19, 2007, 12:59:46 PM
Create a test user account and zip up your complete theme and post both here.
Title: Re: I feel dirty theme problem
Post by: coco on January 19, 2007, 01:26:54 PM
You got message.  ;)
Title: Re: I feel dirty theme problem
Post by: Gizmo on January 19, 2007, 01:35:03 PM
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 (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#user_cp)
Title: Re: I feel dirty theme problem
Post by: coco on January 19, 2007, 03:00:00 PM
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
Title: Re: I feel dirty theme problem
Post by: Joachim Müller on January 20, 2007, 11:20:21 AM
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.