Loading...
 
Skip to main content

Architecture / Installation


Edit Wiki Page Results in Blank Page

I just upgraded a functional Tikiwiki 3 installation to v4.1. When click on the edit button on a wiki page, all I get is a blank page. It doesn't matter if the WYSIWYG editor is selected or not.
FWIW: I do not have access to /var/log/ on the server it's hosted on so I can't check any of the logs that reside there.

So, in trying to troubleshoot the blank page I:
- ran setup.sh to fix permissions
- checked memory allocation for PHP (128M)
- turned on PHP error reporting.
When I tried to edit a wiki page, I got the following error:
Fatal error: Uncaught exception 'TikiDb_Exception' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near at line 1' in /home/psicard/public_html/tw/lib/core/lib/TikiDb.php:116 Stack trace: #0 /home/psicard/public_html/tw/lib/core/lib/TikiDb/Adodb.php(47): TikiDb->handleQueryError('select t.* from...', Array, false) #1 /home/psicard/public_html/tw/lib/core/lib/TikiDb/Bridge.php(23): TikiDb_Adodb->query('select t.* from...', Array, -1, -1, true) #2 /home/psicard/public_html/tw/lib/freetag/freetaglib.php(962): TikiDb_Bridge->query('select t.* from...', Array) #3 /home/psicard/public_html/tw/freetag_list.php(56): FreetagLib->get_tag_suggestion(, '10', '') #4 /home/psicard/public_html/tw/tiki-editpage.php(1167): include_once('/home/psicard/p...') #5 {main} thrown in /home/psicard/public_html/tw/lib/core/lib/TikiDb.php on line 116


I am having the same problem, please help someone, what to do?

Well, I had backed everything up, so I restored and installed/upgraded again. Everything seems to work fine now.

The first time I decompressed tiki-4.1.zip on a windows box and ftped the "upgrade" and chose to keep newer files already on the server. That obviously failed.

The second time, I decompressed the tikwiki4 archive on a linux box. By now all of the dates were bolloxed (the decompressed files had the current date on them), so I just copied the new files over the old files and ignored the instruction for upgrading that says 'FTP with "overwrite if source is newer"'. Everything seemed to work fine.
However, I should mention this is a test site with very little content, no custom templates, etc. so YMMV.