I tried to install the cavity theme, but this is what I got
Warning: main(modules/AutoTheme/autotheme.php) [function.main]: failed to create stream: No such file or directory in c:\inetpub\wwwroot\postnuke\HTML\themes\cavity1\theme.php on line 5
Warning: main() [function.main]: Failed opening 'modules/AutoTheme/autotheme.php' for inclusion (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\postnuke\HTML\themes\cavity1\theme.php on line 5
Fatal error: call to undefined function: themeheader() in c:\inetpub\wwwroot\postnuke\HTML\header.php on line 191
I am locked out of my site. I tried the psak.asp swiss army fix but I am getting this error:
Notice: Undefined variable: PHP_SELF in c:\inetpub\wwwroot\postnuke\HTML\psak.php on line 19
Notice: Undefined variable: PHP_SELF in c:\inetpub\wwwroot\postnuke\HTML\psak.php on line 20
PostNuke Swiss Army Knife -- 1.00 -- Main Menu
--------------------------------------------------------------------------------
Notice: Undefined variable: op in c:\inetpub\wwwroot\postnuke\HTML\psak.php on line 467
Notice: Undefined variable: PHP_SELF in c:\inetpub\wwwroot\postnuke\HTML\psak.php on line 101
New DB username/password encoding
Enable/Disable 'intranet' config option
Theme Reset
Permissions Reset
Notice: Undefined variable: PHP_SELF in c:\inetpub\wwwroot\postnuke\HTML\psak.php on line 106
Show phpinfo
Help, anybody got any suggestions?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mdee responded to »Short URL questions« 12:02 AM
- mesteele101 responded to »Problem in Database Connection« 21. May
- mesteele101 created topic »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 20. May
- Herr.Vorragend responded to »Clip Documentation and Doubt« 19. May
- mazdev responded to »zikula 1.3.3. and IE9« 19. May
- mesteele101 responded to »How to install Zikula for MSSQL ??? - Part II« 19. May
- mesteele101 created topic »File packaging« 16. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Problems with cavity theme
-
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 676
Try this verson, I fixed a couple of things in it:
psak.zip
There are a few ways to recover from a faulty theme:
1. The aforementioned Postnuke Swiss Army Knife tool (this is the fixed version as above):
psak.zip
2. You could rename the dud theme (copy the name first with ctrl-C):
a. copy a known working theme folder, like the default Postnuke,
b. rename it to whatever the dud one is (case is important, if you copied before, do a paste now, ctrl-V),
c. edit the theme.php file in the theme folder; near the top you change the $thename variable:
$thename = "Name-of-theme";
filling in whatever the name of the theme was.
Postnuke now thinks this is the theme you changed to, and the site will work.
d. Go to Admin, change to a a working theme
e. Rename your temporary recovery theme folder to something else, like "Backup" or something, so you can use it for the next time you try a dud theme, so you can repeat the procedure, changing the name of the folder and the $thename variable to the dud theme.
You can test a new theme first by entering:
www.yoursite.com/index.php?theme=yourtheme
This is only a temporary change until you click somewhere else or refresh the page
Martin :D -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: May 29, 2003
- Posts: 10
Martin
the psak worked this time. Thank you 10x for your support. However, these are the errors I received while running psak.php . Once again the reset worked and I am fine, but i wanted to bring this to your attention. Also, I read about your tip on testing themes before implementing them after I got in trouble :) , however, I will definatly practice it in the future.
Thanks
page 1 When choosing to what theme to default.
Notice: Use of undefined constant module_vars_column - assumed 'module_vars_column' in c:\inetpub\wwwroot\postnuke\HTML\psak.php on line 271
The site's default theme is currently set to: cavity1
Default theme set tDefault theme set to: PostNukeSilver
Notice: Undefined index: resetuser in c:\inetpub\wwwroot\postnuke\HTML\psak.php on line 351o: PostNukeSilver -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 676
They're warnings and notices, nothing to worry about. I sent the author of psak.php the update, he said he'd wanted to make those changes anyway and should have updated the official download. I guess he needs to clean the code a little more to avoid those non-critical warnings. The error reporting is set too low on your server, Postnuke often produce other similar notices and warnings. They don't affect the performance.
Glad it was of use :D
Martin
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
