I installed everything correctly, even under NT, the php execution of values.php provoked no visible error. All data in the databe seem to be there, only under seeting there are no entries (should there be?). When opening the index.php page i get a blank screen.
Can u help?
Magge
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There must be data in the settings table for it to work. When you access values.php using your browser, you should get a 'Document contained no data' error, which is an indicator that it worked. Alternately, you can run 'php values.php', and that will do the same thing.
I assume you've tried both of those, so I'm guessing the problem is with NT. I develop on Unix only, and can't support Windows at all.
If you get desparate, you can change line 20 in values.php to:
echo "INSERT INTO settings SET category = '$category', subcategory = '$subcategory', subsubcategory = '$subsubcategory', name = '$name', description = '$description', original = '$original', info = '$info', shortcut = '$shortcut';" . "\n";
This should output the SQL queries, which you can copy and paste into MySQL.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I did it the way you suggested but
opening the index.php page I get the error message:
Warning: Undefined index: info in main.inc on line 32
I already looked for the values that should be in the "Info" column, tried to set it to a default value of NULL and marked it as index but this didnt help!
I think the error only comes from the index column which was comletely empty after pastingb the SQL like e.g. this:
INSERT INTO settings VALUES ("html", "page", "body", "color", "Body Color", "orange", NULL, "HTML_PAGE_BODY_COLOR");
...
Thanks for your help in advance!
Magge
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed everything correctly, even under NT, the php execution of values.php provoked no visible error. All data in the databe seem to be there, only under seeting there are no entries (should there be?). When opening the index.php page i get a blank screen.
Can u help?
Magge
There must be data in the settings table for it to work. When you access values.php using your browser, you should get a 'Document contained no data' error, which is an indicator that it worked. Alternately, you can run 'php values.php', and that will do the same thing.
I assume you've tried both of those, so I'm guessing the problem is with NT. I develop on Unix only, and can't support Windows at all.
If you get desparate, you can change line 20 in values.php to:
echo "INSERT INTO settings SET category = '$category', subcategory = '$subcategory', subsubcategory = '$subsubcategory', name = '$name', description = '$description', original = '$original', info = '$info', shortcut = '$shortcut';" . "\n";
This should output the SQL queries, which you can copy and paste into MySQL.
I did it the way you suggested but
opening the index.php page I get the error message:
Warning: Undefined index: info in main.inc on line 32
I already looked for the values that should be in the "Info" column, tried to set it to a default value of NULL and marked it as index but this didnt help!
I think the error only comes from the index column which was comletely empty after pastingb the SQL like e.g. this:
INSERT INTO settings VALUES ("html", "page", "body", "color", "Body Color", "orange", NULL, "HTML_PAGE_BODY_COLOR");
...
Thanks for your help in advance!
Magge
I'm not sure why it didn't work. I dumped an example settings table and put it up at http://phpwebhosting.sourceforge.net/settings.dump. Download it and use it like this:
mysql -uroot -p phpwebhosting < settings.dump
It will DROP the current settings table and put in some defaults. Then log in as admin and change them to your liking.