LinHES Forums http://forum.linhes.org/ |
|
Mythweb now broken after too much tweakin' http://forum.linhes.org/viewtopic.php?f=21&t=20776 |
Page 1 of 1 |
Author: | bigB [ Thu Jan 14, 2010 3:12 pm ] |
Post subject: | Mythweb now broken after too much tweakin' |
Hi all, I was trying to convert lighttp to use normal cgi instead of fast cig. I decided this was a bad thing to do, and turned back. I have tried to revert all of the changes, but mythweb is still not working. Upon entering mythweb i get "undefined function t() in backend_log/init.php". I know where that function is, but for some reason the include is not working, Re-installing the various packages has shown to not work. I'm running the testing repo's. I understand this is my own doing so any help would be appreciated. Bigb |
Author: | langelgjm [ Thu Jan 14, 2010 4:25 pm ] |
Post subject: | |
The t() function is called all over the place to provide language-specific output. Couple basic thoughts: 1. Permissions and ownership. Check to make sure the web server user can access the file that needs to be included. 2. Check the open_basedir setting in /etc/php/php.ini. If you reinstalled stuff, maybe this got screwed up, and now PHP scripts cannot access the right mythweb directories? Those are just guesses, though. |
Author: | bigB [ Thu Jan 14, 2010 11:44 pm ] |
Post subject: | |
Hi, Thanks for your reply. The problem was due to a db issue i had. Several of my tables became corrupted some how, unrelated to the mythweb stuff i was doing. My debugging process was to add a simple Code: print "hello";
into mythweb.php and moving it further down processing line until it stopped printing out. For me that was in "include/db_update.php" which was referenced from include/init.php Once i had nailed that down, i worked out that the schema version in the database was non existent, but other parts where there. A minor mysql command got be back up and running. Now, where was i... BigB. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |