Re: Re: Custom Header and Java
I recreated this problem in an up to date Tiki 9. I was able to clean up the database and cache, and then the tiki pages were able to load again.
In Look and Feel/Customization I added the string "{test}" to
Custom CSS:
Custom HTML Content:
Custom End of Code:
and
Custom javascript:
And the result was error message 500 when I tried to load any pages. I then used phpmyadmin to browse the tiki_preferences table and deleted the rows with the following column names:
header_custom_js
header_custom_css
feature_custom_html_head_content
feature_endbody_code
Then I manually cleared the cache files:
In templates_c/ delete everything but: index.php
In temp/public/ delete everything but: .htaccess and index.php
In lib/test/core/temp/cache/ delete everything but: index.php
In modules/cache/delete everything but: index.php and README
In temp/cache/ delete everything but: index.php
To clear the folders, I used these comands:
ls -1d ./templates_c/* |grep -v -e index.php | xargs /bin/rm ls -1d ./temp/public/* |grep -v -e index.php -e .htaccess | xargs /bin/rm ls -1d ./lib/test/core/temp/cache/* |grep -v -e index.php | xargs /bin/rm ls -1d ./modules/cache/* |grep -v -e index.php -e README | xargs /bin/rm ls -1d ./temp/cache/* |grep -v -e index.php | xargs /bin/rm
If there were no files to be deleted in one of those folders, you will get the error message:
ls: ./folder/*: No such file or directory
/bin/rm: missing operand
You could also delete the files using FTP, if that was all you had access with.
After doing that, the pages loaded successfully.
Tom