Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Error themes

Asked Modified Viewed 1,594 times
D
D4rgor
D
D4rgor 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

Hi to all.
I tried to change theme for 3 times and all the 3 times it gived to me this error
Fatal error: Cannot redeclare opensidex() in /users/d/4/r/d4rgor/public_html/includes/theme_functions_include.php on line 192
For the first 2 times i reinstalled all the cms, but now i won't -.-
It exist any solution? I don't want to re-do all the work...
0 replies

7 posts

S
SiteMaster
S
If i have touched it, it's W3C Valid
  • Senior Member, joined since
  • Contributed 305 posts on the community forums.
  • Started 15 threads in the forums
answered
Senior Member

have you placed opensidex in theme.php
if you have remove it opensidex is in theme_functions_include.php
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

v7 themes should not have any opensidex() defined in theme.php

Try to switch to a core theme and check if not th error is gone. If it is, then look into fixing the custom themes that gives the error.
0 replies
D
D4rgor
D
D4rgor 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

I can't access to the site...
In the theme_functions_include.php i have to remove this?
// v6 compatibility
function opensidex($title, $state = "on") {

   openside($title, true, $state);

}
Edited by D4rgor on 14-09-2008 16:14,
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

No, don't remove that.

Check your theme.php for:

function opensidex()
....
}


function closesidex() {
....
}


Delete the section if you find them.

If you don't find them, then you have defined the somewhere else by a mod.

You get the error because you try to redefine the functions already defined in theme_functions_include.php.
0 replies
D
D4rgor
D
D4rgor 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Uhm...i selected the theme phoenix...but there isn't it...
Sorry but i'm noob with php-fusion...
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

Phoenix is a v6 theme, so unless you have the theme updated for v7 it will not work.

If you cannot access your site and switch to a v7 theme, then remove all v6 themes from your site and the default theme should be set automatically.
0 replies
D
D4rgor
D
D4rgor 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

I've removed v6 themes via FTP and now all work :)
Thanks a lot!!!
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

W
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
S
S
If i have touched it, it's W3C Valid
  • Senior Member, joined since
  • Contributed 305 posts on the community forums.
  • Started 15 threads in the forums
D
D
D4rgor 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet