Home Support Forums
[done] Template Editor problem (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: [done] Template Editor problem
|
jeffpa (User)
Fresh Lemon
Posts: 7
|
|
[done] Template Editor problem 3 Months, 1 Week ago
|
Karma: 0
|
Hi
I'm using v1.7 of Lime Survey which was installed using Simple Scripts.
There's a problem when I use the Template Editor.
The preview window contains the following error message
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.votecarrot.com Port 80
Has anyone seen this before or point me in the right direction for fixing it.
Thanks
Jeff
|
|
|
|
Logged
|
|
|
Last Edit: 2008/09/29 11:15 By Mazi.
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:Template Editor problem 3 Months, 1 Week ago
|
Karma: 7
|
|
Hi Jeff, it's not a very helpful error message.. but my guess is that the setup hasn't given the correct permissions to allow the web server to create files in the tmp directory.
The template editor generates an html file in the tmp file to preview in the preview window, and this error message is saying that the temporary html file doesn't exist.
If you have ftp access to your server, go in and make sure the server has read/write access to the tmp directory.
Jason
|
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
jeffpa (User)
Fresh Lemon
Posts: 7
|
|
Re:Template Editor problem 3 Months, 1 Week ago
|
Karma: 0
|
|
Jason
Thanks for replying.
I can confirm that the temp directory is 777.
I have seen the temporary file created there using an ftp client. So it does get created.
Is there anything specific I can look for??
Thanks
Jeff
|
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
Mazi (Moderator)
Moderator Lime
Posts: 3494
|
|
Re:Template Editor problem 3 Months, 1 Week ago
|
Karma: 28
|
Please switch on debug mode by adding the following line to your config.php file:
Are there any errors reported?
|
|
|
|
Logged
|
|
|
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:Template Editor problem 3 Months, 1 Week ago
|
Karma: 7
|
|
Hmmm.. you may also want to check if there are any .htaccess files in that directory too (just to be sure) - delete any that are there.
|
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
alung (User)
Fresh Lemon
Posts: 6
|
|
Re:[done] Template Editor problem 3 Months, 1 Week ago
|
Karma: 0
|
|
I resovled this by changing the rights on the tmp directory. I noticed temp mentioned which may have confused which directory needs to be changed. I changed /htdocs/limesurvey/tmp. This may or may not help.
|
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
jeffpa (User)
Fresh Lemon
Posts: 7
|
|
Re:[done] Template Editor problem 3 Months, 1 Week ago
|
Karma: 0
|
|
Update
I put the debug line into php.config. No errors reported, that I could see.
There is no .htaccess file to delete.
Alung - thanks but it was the tmp file I was refering to which has 777 permissions.
Thanks for the help so far, I shall try and post more info as and when I find it.
Cheers
Jeff
|
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
Mazi (Moderator)
Moderator Lime
Posts: 3494
|
|
Re:[done] Template Editor problem 3 Months, 1 Week ago
|
Karma: 28
|
If this isn't mentioned correctly in the manual feel free to add a note or correct it. Our manual is a wiki, everyone can edit it.
If you enjoy limesurvey please consider a donation to the team. We do all this in our free time.
Without your help we can't keep this project alive.
|
|
|
|
Logged
|
|
|
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
|
|
|
The administrator has disabled public write access.
|
jeffpa (User)
Fresh Lemon
Posts: 7
|
|
Re:[done] Template Editor problem 3 Months, 1 Week ago
|
Karma: 0
|
This is from the main server error log but I don't know if it's related to my site specifically
| Code: |
[Thu Oct 02 01:22:02 2008] [error] [client 85.196.112.110] Failed loading /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: undefined symbol: compiler_globals
|
Any thoughts guys??
Thanks
Jeff
|
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
Mazi (Moderator)
Moderator Lime
Posts: 3494
|
|
Re:[done] Template Editor problem 3 Months, 1 Week ago
|
Karma: 28
|
|
Doesn't seem to be limesurvey connected. Probably you try to load a library (see php.ini) which isn't available on your system.
|
|
|
|
Logged
|
|
|
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
|
|
|
The administrator has disabled public write access.
|
|
|
|
|