Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help - Please - Made a major cock up !


m4tty1

Recommended Posts

Posted

Hi peeps

 

I tried to install the wysiwyg editior for oscommerce which went well. However, I have made a major hash up installing the define_mainpage.php

 

Unfortunaltely I am livingproof of why you should back up your files, this is something I failed to do.

 

Now on my homepage I am greeted with the following

 

Warning: main(includes/languages/english.php): failed to open stream: No such file or directory in /home/xboxent/public_html/catalog/includes/application_top.php on line 285

 

Warning: main(includes/languages/english.php): failed to open stream: No such file or directory in /home/xboxent/public_html/catalog/includes/application_top.php on line 285

 

Fatal error: main(): Failed opening required 'includes/languages/english.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xboxent/public_html/catalog/includes/application_top.php on line 285

 

I have absolutely no php knowledge and what I do know about osCommerce is very limited.

 

Can any one help a muppet in need ?

 

Regards

Posted

As you haven't backed up your files the best thing to do when you've made a mess of installing a contribution is go through through the install IN REVERSE.

 

Undo any edits of individual files by restoring the original content, and then removing any new files.

 

Vger

Posted
well the error says that application_top.php can't find this file:

 

/catalog/includes/languages/english.php

 

So the first thing to do is check if that file is missing

 

 

Hi , thanks for the quick reply. the English.php file is present. Any other ideas ?

 

Regards

Posted

As I have a full backup of my SQL database, if worse comes to worse I take it I can start a fresh and restore the database and keep my current customers etc ?

 

Once then just transfer some of my exisitng files (css sheet etc) into a new install ?

 

Or is this wishful thinking ?

 

Regards

Posted
As I have a full backup of my SQL database, if worse comes to worse I take it I can start a fresh and restore the database and keep my current customers etc ?

 

Once then just transfer some of my exisitng files (css sheet etc) into a new install ?

 

Or is this wishful thinking ?

 

Regards

I would do it the other way around.

If you have access to another database you could do a new install and use that install to copy the files that are giving you errors. This way you might be able to save some of your work.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Posted
I would do it the other way around.

If you have access to another database you could do a new install and use that install to copy the files that are giving you errors. This way you might be able to save some of your work.

 

 

Sorry for my ignorance, so I create another SQL database, do a fresh install of oscommerce then copy over the bits I need to ?

 

Failing that if anyone has the skills to fix it I can sort them out a few ? ?

 

Regards

Posted

Apparently the error lies here

 

 

// include the language translations

require(DIR_WS_LANGUAGES . $language . '.php');

Posted
Sorry for my ignorance, so I create another SQL database, do a fresh install of oscommerce then copy over the bits I need to ?

 

Yeah that's what I mean

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Posted

Hi Peeps

 

I've managed to fix my index page (By sheer luck).

 

Now when I go through the check out procedure it craps out when it hits the shipping part.

 

In the admin panel for shipping I have the following errors

 

Warning: main(/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/flat.php): failed to open stream: Permission denied in /home/xboxent/public_html/catalog/admin/modules.php on line 128

 

Warning: main(/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/flat.php): failed to open stream: Permission denied in /home/xboxent/public_html/catalog/admin/modules.php on line 128

 

Warning: main(): Failed opening '/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/flat.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xboxent/public_html/catalog/admin/modules.php on line 128

MODULE_SHIPPING_FLAT_TEXT_TITLE 0

 

Warning: main(/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/item.php): failed to open stream: Permission denied in /home/xboxent/public_html/catalog/admin/modules.php on line 128

 

Warning: main(/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/item.php): failed to open stream: Permission denied in /home/xboxent/public_html/catalog/admin/modules.php on line 128

 

Warning: main(): Failed opening '/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/item.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xboxent/public_html/catalog/admin/modules.php on line 128

MODULE_SHIPPING_ITEM_TEXT_TITLE

 

Warning: main(/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/table.php): failed to open stream: Permission denied in /home/xboxent/public_html/catalog/admin/modules.php on line 128

 

Warning: main(/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/table.php): failed to open stream: Permission denied in /home/xboxent/public_html/catalog/admin/modules.php on line 128

 

Warning: main(): Failed opening '/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/table.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xboxent/public_html/catalog/admin/modules.php on line 128

MODULE_SHIPPING_TABLE_TEXT_TITLE 1

 

Warning: main(/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/ups.php): failed to open stream: Permission denied in /home/xboxent/public_html/catalog/admin/modules.php on line 128

 

Warning: main(/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/ups.php): failed to open stream: Permission denied in /home/xboxent/public_html/catalog/admin/modules.php on line 128

 

Warning: main(): Failed opening '/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/ups.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xboxent/public_html/catalog/admin/modules.php on line 128

MODULE_SHIPPING_UPS_TEXT_TITLE

 

Warning: main(/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/usps.php): failed to open stream: Permission denied in /home/xboxent/public_html/catalog/admin/modules.php on line 128

 

Warning: main(/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/usps.php): failed to open stream: Permission denied in /home/xboxent/public_html/catalog/admin/modules.php on line 128

 

Warning: main(): Failed opening '/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/usps.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xboxent/public_html/catalog/admin/modules.php on line 128

MODULE_SHIPPING_USPS_TEXT_TITLE

 

Warning: main(/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/zones.php): failed to open stream: Permission denied in /home/xboxent/public_html/catalog/admin/modules.php on line 128

 

Warning: main(/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/zones.php): failed to open stream: Permission denied in /home/xboxent/public_html/catalog/admin/modules.php on line 128

 

Warning: main(): Failed opening '/home/xboxent/public_html/catalog/includes/languages/english/modules/shipping/zones.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xboxent/public_html/catalog/admin/modules.php on line 128

MODULE_SHIPPING_ZONES_TEXT_TITLE

Module Directory: /home/xboxent/public_html/catalog/includes/modules/shipping/

 

 

If any one can shed some light please give me a hand. Also none of the buttons are there, just a red x as it cant see the images.

 

Thanks

Archived

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

×
×
  • Create New...