Loading...
 
Architecture / Installation

Architecture / Installation


Fatal error: Smarty error

posts: 20 United States

Fatal error: Smarty error: in evaluated template line 8: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590) in /lib/smarty/libs/Smarty.class.php on line 1093

At the very end of the upgrade from 4.3 to 5.3, it says upgrade successful, says the database updated successfully, but receive the error above when accessing the site.

posts: 20 United States

Ok, so I'm figuring two weeks is long enough for my site to be down, and I still haven't figured this Smarty thing out. So I have installed OCPortal and did a CSV export, edit and import with the members, pictures, articles and wiki, so that I can at least have a web site for what's left of my visitors.

But I'm going crazy trying to figure out what the heck happened with that upgrade. It scrambled the living heck out of my database, it was just a mess. So I stepped back a couple of days and restored a backup database into the system.

Every time I have tried to restore my backups, I have been getting the same Smarty error mentioned above. Things ran just fine for over two years with hardly any problem at all, and never once did I see this Smarty error.

I have now done a complete clean install of Tiki 5.3 in a subdirectory, and now I'm wanting to connect it with the old database. Should I run an upgrade on the database first, or should I edit the config files to point to the database and then upgrade it?

I am rebuilding after the CSV imports with the OCPortal, and it's a good system. But I really liked the Tiki that I had going, and I want to get it going again, so I can copy and paste things into the OCPortal install, if nothing else.


posts: 1799 Catalan Countries

if that's the only problem, set your tiki to show smarty errors and warnings only to admin. And that should be it.
(as far as this is the only warning you get)


posts: 20 United States
Is there a configuration file where this setting can be changed? I cannot access the Tiki itself, because I just keep getting the Smarty error. I have no access to the admin or to the home page.

posts: 20 United States

I have deleted all the caches, made sure the "site identity" is set to "n" in tiki-preferences table, personlly inspected almost every record in the database, re-installed 9 times now, I finally have a screen where it's not the error message listed in my first post.

all of the modules were disabled and the theme set to the unmodified default theme, prior to the upgrade. The server is a quite-standard LAMP with current versions of MySQL and PHP, set to 64MB of memory.

What I get now is a screen that says this:

An error occured while performing the request.

Things to check:

1.
Did you complete the Tiki Installer?(I have, right up to the point where it says it's going to the site to log in)

2.
Is your database corrupt? Please see how to repair your database(the database is not corrupt)

3.
Are your database credentials accurate?(username, database name, etc in db/local.php)(they are)

Also, I've been searching the tiki.org sites with various segments of the message I am receiving about the Smarty error. Quite extensively. The main thing I noticed is that about one third of the time the searches are successful at turning up various Smarty problems. Most of these entries are years old, dating to about 2006-2007. Many of these were never answered.

The other two thirds of the time I receive the following error message from the tiki.org sites:

An error occured while performing the request.

Things to check:

1.
Did you complete the Tiki Installer?

2.
Is your database corrupt? Please see how to repair your database

3.
Are your database credentials accurate? (username, database name, etc in db/local.php)

I've been with TikiWiki since version 1.7, and my installation grew to the point of nearly 10,000 images and over 2500 pages. But right now all I can do to run it is to completely restore version 4.3

I have done that(restored 4.3) and that's where it's going to stay while I copy and paste my web site into some other software. The current installation will be frozen as it is, and locked, as a site archive.

I have really liked TikiWiki up to this point. But for my particular situation, it's just not up to snuff yet. And several weeks is just way too long to be looking for an answer. Time to move on.

Good luck to all the users and developers of this great product. It's a great idea. Keep up your efforts.


posts: 1799 Catalan Countries

Good luck with whatever decision you make (or have made).

You could change that setting in since Tiki5 at the tiki-install.php file.
(disable error reporting, etc., or show to all users)

Sorry to hear that what seems to have happened to you, and good luck.


posts: 20 United States
Thanks for understanding my position. I remain supportive of the efforts of the TikiWiki project, and still plan to use it on other websites I operate, it's just this one really big web site that I need to work these changes with.

Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.