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: Problem with own theme as standard  (Read 9655 times)

0 Members and 1 Guest are viewing this topic.

ruvenhalfpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Problem with own theme as standard
« on: January 12, 2008, 01:35:56 pm »

Hello. I'm really amazed about your fine piece of gallery. But I have a small problem with my own created theme. Actually I have 2 themes installed, classic and my own one. I set my own one as standard but when I click in the drop down menu on "Standard-menu" the classic menu is activated and not my own one. Users never been to the gallery before also get the classic theme first and have to choose my own theme manually. What is wrong with my own theme?

My coppermine gallery is online http://www.miriam-pielhau.com/miri4ever_bildergalerie/index.php

Due to being a non-native English speaker my English may be sometimes confusing. In addition, do you need any other information?

Thank you in advance for your help :)
« Last Edit: January 13, 2008, 06:29:33 pm by Frantz »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Problem with own theme as standard
« Reply #1 on: January 12, 2008, 02:21:12 pm »

I have an error with your gallery
Quote
Template error
Failed to find block 'my_gallery'(#(<!-- BEGIN my_gallery -->)(.*?)(<!-- END my_gallery -->)#s) in :

            <!-- BEGIN home -->
        <a href="{HOME_TGT}" title="{HOME_TITLE}">{HOME_LNK}</a> ::
  <!-- END home -->  <!-- BEGIN allow_memberlist -->
        <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a> ::
  <!-- END allow_memberlist -->        <!-- BEGIN upload_pic -->
        <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a> ::
  <!-- END upload_pic -->  <!-- BEGIN register -->
        <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a> ::
  <!-- END register -->  <!-- BEGIN faq -->
        <a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a> ::
  <!-- END faq -->  <!-- BEGIN login -->
        <a href="{LOGIN_TGT}" title="{LOGIN_TITLE}">{LOGIN_LNK}</a>
  <!-- END login --> 
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

ruvenhalfpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Problem with own theme as standard
« Reply #2 on: January 12, 2008, 02:45:14 pm »

Where and how do I have to fix this error?
Logged

ruvenhalfpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Problem with own theme as standard
« Reply #3 on: January 12, 2008, 02:54:48 pm »

Hm ... wait a moment. How can I change my post generally?

As a reply to your posted error code. I outcommended some functions in the sys_menu (file: include/themes.inc.php) e.g "My gallery". But the problem with the standard theme was the same before.
Logged

ruvenhalfpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Problem with own theme as standard
« Reply #4 on: January 12, 2008, 03:59:41 pm »

Okay ... I didn't see the error due to being admin but when visiting the site via IE 7 (not logged in) the same error code was given out. Now, this problem is fixed. I just wanted to delete some functions in the 2 menus on top of the page.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Problem with own theme as standard
« Reply #5 on: January 12, 2008, 05:35:10 pm »

what did you mean with functions ? if they are menu items, have a look to the final_extract plugin
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

ruvenhalfpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Problem with own theme as standard
« Reply #6 on: January 12, 2008, 06:04:39 pm »

Yes, I talked about the menu items. I uploaded this plugin "Final-extract" but did not tested it yet due to having the problem with my own theme. For me this is more important ... do you have any idea or do you still have a error when showing the site?
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Problem with own theme as standard
« Reply #7 on: January 12, 2008, 06:10:48 pm »

I think i had a similar error to this, make sure the link to my gallery is still there.
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

ruvenhalfpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Problem with own theme as standard
« Reply #8 on: January 12, 2008, 06:15:20 pm »

The "My Gallery" problem is fixed. I undid the changes I made and the above mentioned link should show a working gallery.

My premier problem is that my own theme is not accepted as standard theme. When I choose the standard theme, the classic theme is activated.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Problem with own theme as standard
« Reply #9 on: January 12, 2008, 06:17:53 pm »

Quote
When I choose the standard theme, the classic theme is activated.
Clear your cookies and check the config to verify that your custom theme is set to default
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

ruvenhalfpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Problem with own theme as standard
« Reply #10 on: January 12, 2008, 06:22:13 pm »

I did, several times. And it does not work. Also when being admin and when clicking on my standard theme, the classic theme is activated. I also know from other users that the classic theme is activated as standard. Also when I actived my own theme as standard. I don't know what to do.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Problem with own theme as standard
« Reply #11 on: January 12, 2008, 07:01:04 pm »

attach yout theme to your next post (all files)
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

ruvenhalfpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Problem with own theme as standard
« Reply #12 on: January 12, 2008, 07:32:53 pm »

I hope that these are all files ... thank you for your help.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with own theme as standard
« Reply #13 on: January 13, 2008, 01:31:21 pm »

I outcommended some functions in the sys_menu (file: include/themes.inc.php)
Never edit the file include/themes.inc.php - under no circumstances. Undo your changes there!
Access your config page with your custom theme specified as URL parameter (like this: http://www.miriam-pielhau.com/miri4ever_bildergalerie/admin.php?theme=miri), then specify your custom theme as default theme.
Logged

ruvenhalfpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Problem with own theme as standard
« Reply #14 on: January 13, 2008, 01:52:03 pm »

I undid the changes due to knowing now not to change it like you say, after solving the theme problem I will try the above mentioned plugin.

More important, I tried the way you described to save my custom theme as standard. And it is the same as before :( My standard theme stays "classic".
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with own theme as standard
« Reply #15 on: January 13, 2008, 01:54:35 pm »

Temporarily rename the cassic theme folder, then try again.
Logged

ruvenhalfpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Problem with own theme as standard
« Reply #16 on: January 13, 2008, 02:04:18 pm »

When trying this and using the IE7 to go to the site it stays blank.

When using Firefox as Admin, following error code is given out:
Fatal error: main() [function.require]: Failed opening required 'themes/classic/theme.php' (include_path='.:/usr/share/php:..') in /www/htdocs/xxxxxxx/miri4ever_bildergalerie/include/init.inc.php on line 297

For me it sounds like that it is still trying to use the classic theme.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with own theme as standard
« Reply #17 on: January 13, 2008, 02:11:05 pm »

Yes, it does. Try going to http://www.miriam-pielhau.com/miri4ever_bildergalerie/admin.php?theme=miri and then saving your changes there.
Logged

ruvenhalfpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Problem with own theme as standard
« Reply #18 on: January 13, 2008, 02:13:54 pm »

It is still the same problem ... a star shows me that my custom theme should be standard ... but when clicking on "Standard-Theme" or when visiting the site for the first time (no cookies and so on) the classic theme is shown :(
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Problem with own theme as standard
« Reply #19 on: January 13, 2008, 03:54:39 pm »

I'm trying on my local test install with your files and have the same problem but i don't find where is the problem  :-\
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog
Pages: [1] 2   Go Up
 

Page created in 0.067 seconds with 19 queries.