lianamber Posted August 15, 2003 Posted August 15, 2003 hello, I was trying to set the permissions on my account to write to it, and now I am getting Warning: main(includes/languages/english.php): failed to open stream: No such file or directory in /home/torsosc/public_html/store/admin/includes/application_top.php on line 199 Fatal error: main(): Failed opening required 'includes/languages/english.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/torsosc/public_html/store/admin/includes/application_top.php on line 199 it seems like whatever I change just messes it up more! Basically everything that I changed (includes, language, english) I changed to 777, but I can't seem to figure out what file it is looking for that it can't get the permission to... any help is gratefully accepted!!!
Leonardo Posted August 15, 2003 Posted August 15, 2003 It looks like its having trouble with application_top.php. Try uploading a fresh copy of that or changing its permission. turtle power!
lianamber Posted August 15, 2003 Author Posted August 15, 2003 eek! I changed the permissions, didn't work - so I uploaded the backup and got this: application_top.php????????*??N???N??mBIN???x Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/torsosc/public_html/store/admin/includes/application_top.php:1) in /home/torsosc/public_html/store/admin/includes/functions/sessions.php on line 67 Warning: main(includes/languages/english.php): failed to open stream: No such file or directory in /home/torsosc/public_html/store/admin/includes/application_top.php on line 199 Fatal error: main(): Failed opening required 'includes/languages/english.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/torsosc/public_html/store/admin/includes/application_top.php on line 199 why did I start this?? thanks for your help though - any ideas on what I killed now?
lianamber Posted August 15, 2003 Author Posted August 15, 2003 ok, ignore last post, managed to fix that, but still have same error getting to my admin area - Warning: main(includes/languages/english.php): failed to open stream: No such file or directory in /home/torsosc/public_html/store/admin/includes/application_top.php on line 199 Fatal error: main(): Failed opening required 'includes/languages/english.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/torsosc/public_html/store/admin/includes/application_top.php on line 199
Leonardo Posted August 15, 2003 Posted August 15, 2003 How far are you into designing this site? If you just started, it wouldn't be all that bad to start over with a fresh copy of osCommerce since you may have incorrectly modified some of the file permissions. turtle power!
lianamber Posted August 15, 2003 Author Posted August 15, 2003 oh, god, I am quite a ways, and I hired someone to help me who is now flaking out on me. I am downloading what has been done now - could I install a new store and then upload just the files that have been modified for me? I have all the items in, etc. etc... thank you!!!! ps I only changed the permissions on a few files. If I go back and change them all to 777, shouldn't it (ostensibly) work again?
Leonardo Posted August 15, 2003 Posted August 15, 2003 Yea that should work. But I can't promise anything. turtle power!
lianamber Posted August 15, 2003 Author Posted August 15, 2003 well, I took it down and then tried to reupload it and am now getting this error 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] any ideas how to fix that? thank you!
alverman Posted August 15, 2003 Posted August 15, 2003 catalog/includes/configure.php and admin/includes/configure.php , bottom lines: // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers define('DB_SERVER_USERNAME', 'db_user'); define('DB_SERVER_PASSWORD', 'db_password'); define('DB_DATABASE', 'db_name'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' you need to set these values: 'db_user' , 'db_password', 'db_name'. HTH
lianamber Posted August 15, 2003 Author Posted August 15, 2003 thank you, I will work on it more. this really has helped! lian
lianamber Posted August 15, 2003 Author Posted August 15, 2003 ok, I reuploaded everything to the old folder, old password, old username, but I still get the same no database thing? (I had changed them) in my configure files it says define('DB_DATABASE', 'torsosc_osc2'); torsosc is the user name - any ideas on why osc2 would not work, or what other options there are? where can I find the database? thank you!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.