MissCC Posted October 24, 2007 Share Posted October 24, 2007 Do someone have by any chance the TABLE_ADMINISTRATORS file? I need it for my site. Thanks. Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted October 24, 2007 Share Posted October 24, 2007 There is no such file, but I guess you need the database table added to your database. But before saying anything wrong, you may want to explain it more detailed, why you need the mentioned. Maybe it's just that the table definition at your admin/includes/database_tables.php is missing the entry after adding a contribution. Link to comment Share on other sites More sharing options...
MissCC Posted October 24, 2007 Author Share Posted October 24, 2007 There is no such file, but I guess you need the database table added to your database. But before saying anything wrong, you may want to explain it more detailed, why you need the mentioned. Maybe it's just that the table definition at your admin/includes/database_tables.php is missing the entry after adding a contribution. Yes, I added few shipping contributions, the last ones was: Custom Table Rate v1.1 Individual Shipping Zones Then I wasn't able to enter the admin/categories. I follow the instructions from a thread in this forum and I am now getting this error: 1146 - Table 'store.TABLE_ADMINISTRATORS' doesn't exist select id from TABLE_ADMINISTRATORS limit 1 [TEP STOP] Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted October 24, 2007 Share Posted October 24, 2007 Edit the admin/includes/database_tables.php and add the following: define('TABLE_ADMINISTRATORS', 'administrators'); Apparently one of your contribs wasn't adapted to RC1 and has overwritten the file, so the definition was simply missing. Link to comment Share on other sites More sharing options...
MissCC Posted October 24, 2007 Author Share Posted October 24, 2007 Thanks! I have now the page back but it is write only Administrator Login without any login fields. Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted October 24, 2007 Share Posted October 24, 2007 Do you at least see the language dropdown list to the right? Looks like there has been a bit more messed up than just the database_tables.php file. I guess it has something to to with application_top.php or some of the incuded/required files there. Link to comment Share on other sites More sharing options...
MissCC Posted October 24, 2007 Author Share Posted October 24, 2007 Do you at least see the language dropdown list to the right? Looks like there has been a bit more messed up than just the database_tables.php file. I guess it has something to to with application_top.php or some of the incuded/required files there. No I can't see the language dropdown list and I also think it was about the application_top.php, this file have been replaced 2-3 times in the admin section and in the catalogue. Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted October 24, 2007 Share Posted October 24, 2007 You shouldn't replace the files rather than make the changes manually. Since some of the contributions are made for older versions of OSC and have never been updated to fit for RC1, replacing the files may cause hassle. Most likely your application_top.php is missing some code that is needed to display the login page properly. But it's really hard to say which ones that may be. To give you an advise for the future, always backup your osc installation before making any changes to it. So if something goes wrong, you can easily roll back to the working version. Link to comment Share on other sites More sharing options...
MissCC Posted October 24, 2007 Author Share Posted October 24, 2007 You shouldn't replace the files rather than make the changes manually. Since some of the contributions are made for older versions of OSC and have never been updated to fit for RC1, replacing the files may cause hassle. Most likely your application_top.php is missing some code that is needed to display the login page properly. But it's really hard to say which ones that may be. To give you an advise for the future, always backup your osc installation before making any changes to it. So if something goes wrong, you can easily roll back to the working version. Ok, thanks for the advice. What can I do now to repair it? Link to comment Share on other sites More sharing options...
MissCC Posted October 24, 2007 Author Share Posted October 24, 2007 Is this can have something to do with: .DS_Store? Here are some files that have rewrite or modified: admin/categories.php checkout_shipping.php includes/application_top includes/classes/shipping includes/classes/shopping_cart then after: admin/categories.php admin/index.php admin/invoice.php admin/orders.php admin/includes/application_top.php admin/includes/colum_left.php admin/includes/database_tables.php admin/includes/filenames.php admin/includes/classes/order.php admin/includes/functions/general.php admin/includes/functions/html_output.php admin/includes/languages/english.php admin/includes/languages/english/categories.php admin/includes/languages/english/invoice.php admin/includes/languages/english/orders.php Link to comment Share on other sites More sharing options...
MissCC Posted October 24, 2007 Author Share Posted October 24, 2007 Forget my last message my site seem to be working now...I will see. Link to comment Share on other sites More sharing options...
MissCC Posted October 25, 2007 Author Share Posted October 25, 2007 Forget my last message my site seem to be working now...I will see. The site (not my admin panel) now disapeared! Just a blank page. I didn't do anything. Any idea? Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted October 25, 2007 Share Posted October 25, 2007 Most likely it's an issue of application.php again, but this time in the catalog section. Did you copy any files back to your installation and perhaps confused the directories. Also it happens if some language files are missing. Link to comment Share on other sites More sharing options...
MissCC Posted October 25, 2007 Author Share Posted October 25, 2007 Most likely it's an issue of application.php again, but this time in the catalog section. Did you copy any files back to your installation and perhaps confused the directories. Also it happens if some language files are missing. Yes I copy some file back. I start installing this module/files: http://addons.oscommerce.com/info/2906 But never add it completly. Then I try to reinstall http://addons.oscommerce.com/info/4468 Both files are playing with the application_top and the langagues. I tried to reinstall the application_top from the original oscommerce folder but it doesn't change. Link to comment Share on other sites More sharing options...
MissCC Posted October 26, 2007 Author Share Posted October 26, 2007 I try to remove the Multi Vendor Shipping module and I am now getting this error: 1146 - Table 'store.vendor_configuration' doesn't exist select configuration_key as cfgKey, configuration_value as cfgValue from vendor_configuration [TEP STOP] Link to comment Share on other sites More sharing options...
MissCC Posted October 26, 2007 Author Share Posted October 26, 2007 I try to remove the Multi Vendor Shipping module and I am now getting this error: 1146 - Table 'store.vendor_configuration' doesn't exist select configuration_key as cfgKey, configuration_value as cfgValue from vendor_configuration [TEP STOP] Now again a blank page. Sorry to repost again but I just want to keep you updated in case you reply and there is no edit button here. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.