Loading...
 
Skip to main content

Themes


Help please - Pasted code caused problem.

Hi,

First, I love this software - I had already started building a site with Joomla and during the hair pulling, trying to get all the functions to works as one, I stumbled across Tikiwiki. It's just what I needed so I stopped with Joomla and started with Tikiwiki.

I'm a very experienced TikiWiki user (used it for three days now) 😀. Okay, enough of my jokes.

My PROBLEM: (using Tikiwiki 5.3)
My site was up and running fine, but I want to add some extra menus similar the ones here:
http://tiki.org/tiki-index.phpQuestion

Whilst experimenting (under look and feel) I copied and pasted the entire CSS for the above page into the code in the section that allows for additional code and I also copied the html list for the horizontal menu into one of the other sections that allow for the code (I think it was second menu section).

I saved it and the menu actually displayed fine. BUT, after I logged out and attempted to navigate to the site - the site won't display. I can't login to remove the code, I just get a white page. I've also tried login at /tiki-login_scr.php and it's same thing white page. The source code is there with about 4 million errors. It appears that I've also not closed off the CSS code that I pasted. I've been trying to locate the code in the site files, but can't find it. Can you please help me to find it or make another suggestion for how I might to be able to clean up my mess!!

The site is www.homeedshow.com.au.Question

Thanks in advance for not laughing too hard at my brain failure!
GUY.

Sorry, forgot to mention that I'm using Fivealive - Orange theme.

Guy.


It sounds like there was some invalid PHP or SMARTY code that you pasted. You'll need to access your database directly (through phpMyAdmin) to correct the problem. See this troubleshooting informationQuestion for details.

And this guideQuestion provides additional details for changing Tiki preferences from the database.

HTH,

- RickQuestion | My Tiki Blog | My Tiki UserPage
Need more help? Try Tiki for Dummies SmartiesQuestion: A beginner's guide.
New: Tiki EssentialsQuestion: What all Smarties need to know about Tiki Wiki CMS Groupware.

Thanks Rick - you're the man!! You set me on the right path.

Your information got me there, but here's what I found:

I checked out the SQL 'site_my_code' row as mentioned in the links that you gave me, but the code in there didn't seem to be the problem. I searched through the preferences table and found these rows to contain the code that I posted:

'feature_secondary_sitemenu_custom_code'

and

'feature_custom_html_head_content'

I made a copy of the database first, then deleted the code from these two rows and Voila, my site's back again and seems to be fine.

Thanks again. Greatly appreciate you very quick and accurate response.

Guy. 😀😀😀

Ahh! I see.

Thanks again.

Guy.