Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error


Recommended Posts

Hello,

 

Can enyone help me? I changed nothing in my shop just added two files for exporting my shop contents and then these errors appear:

 

Warning: main(includes/languages/Array.php): failed to open stream: No such file or directory in /home/fonorama/public_html/sklep/includes/application_top.php on line 322

 

Warning: main(includes/languages/Array.php): failed to open stream: No such file or directory in /home/fonorama/public_html/sklep/includes/application_top.php on line 322

 

Fatal error: main(): Failed opening required 'includes/languages/Array.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fonorama/public_html/sklep/includes/application_top.php on line 322

 

 

Help please!!!!

 

Wojciech

Link to comment
Share on other sites

What 2 files did you add and where did you add them?

 

Hello,

 

Can enyone help me? I changed nothing in my shop just added two files for exporting my shop contents and then these errors appear:

 

Warning: main(includes/languages/Array.php): failed to open stream: No such file or directory in /home/fonorama/public_html/sklep/includes/application_top.php on line 322

 

Warning: main(includes/languages/Array.php): failed to open stream: No such file or directory in /home/fonorama/public_html/sklep/includes/application_top.php on line 322

 

Fatal error: main(): Failed opening required 'includes/languages/Array.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fonorama/public_html/sklep/includes/application_top.php on line 322

Help please!!!!

 

Wojciech

Link to comment
Share on other sites

  • 1 year later...

A variable probably named $language in the newly added files causes a conflict with the oscommerce variable $language causing PHP to return Array instead of a language.

Do a grep on the variable and change the variable name to $lang or similar in the newly added files.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...