Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

messed up permissions, aaaaahh!


lianamber

Recommended Posts

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!!!

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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!!!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...