View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Jan 14, 2010 3:12 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 14, 2010 4:25 pm 
Offline
Joined: Wed Jul 25, 2007 7:56 pm
Posts: 103
Location: Arlington, VA, USA
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.

_________________
MBE/FE: R6, P4 2.8 GHz/2 GB/2 TB, GeForce 6200 512 MB, PVR-150, Cisco RNG-100 cable box
FE: R6, P4 2.0 GHz/1 GB, GeForce4 MX 420 64 MB, diskless netboot


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 14, 2010 11:44 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
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.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 33 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu