PDA

View Full Version : Mythweb Database Setup Error


severedspirit
September 28th, 2007, 02:17 PM
just upgraded to the new SVN release of mythweb, however im having a couple of problems, when viewing the page it says
-------------------
Database Setup Error

The database environment variables are not correctly set in the
included .htaccess file. Please read through the comments included
in the file and set up the db_* environment variables correctly.

Some possible solutions are to make sure that mod_env is enabled
in httpd.conf, as well as having followed the instructions in the
README about the AllowOverride settings.
-------------------

Ive had a look through he .htaccess file and it seems fine, anyone got any idea how to fix it, its probably just some small stupid thing ive forgotten to do, thanks ahead

merlin69
September 29th, 2007, 11:36 AM
Hava had same error here. The .htaccess link to /etc/mythtv/mythweb-htaccess.conf was broken (links to /etc/mythtv/mythweb-htaccess). Removing .htaccess and linking it to /etc/mythtv/mythweb-htaccess.conf fixed this issue.

severedspirit
September 29th, 2007, 12:20 PM
Yer, just tried that, didnt work :s

However i stopped apache2 and used apache instead and it worked, now just working out what I'm missing

fatbastard spice
September 30th, 2007, 09:47 AM
Check that you haven't got an AllowOverride None option making Apache ignore the mythweb .htaccess file. Any Directory directives for the mythweb folder need AllowOverride All.

severedspirit
September 30th, 2007, 11:09 AM
thanks for your help, found out the problem, I hadn't installed the rewrite function on the apche2 configuration, it all works fine now