Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: require(includes/languages//index.php) [function.require]:


sera_archie

Recommended Posts

Posted

Ok - so I have had a number of errors today, I finally fixed my admin panel (I lost access completely) and am now working on the store side.

Odd thing is I intermittently get access to the page, will refresh and bang, gone. I was previously having a register global error that I fixed - I don't know if that could potentially be causing issues now?

 

This is my most recent error

 

Warning: require(includes/languages//index.php) [function.require]: failed to open stream: No such file or directory in ***/shop/index.php on line 36

 

Fatal error: require() [function.require]: Failed opening required 'includes/languages//index.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in ***/shop/index.php on line 36

 

My question is - the includes/languages//index.php issue...two slashes...this seems odd to me? Am I on the right track looking in the includes/languages/index folder?

I will find it eventually but I just wanted to check if I was missing something

(I have had similar errors for other paths, just not with a double slash)

Posted

***sorry, meant to say I am looking at the includes/languages/english/index file (as there would be a lack of index files in the language section!)

 

is the issue that it isn't recognising english as the default language? I checked in the admin panel and it is configured...

Posted

The page has decided to display again ( I don't believe I changed anything to achieve this!)

 

I can see the boxes are showing as box_heading_information or box_heading_shopping_cart rather than the correct text - it is also saying 'Title' rather than my business name at the top of the page (eg. where this browser says "Warning:require includes...etc")

At the bottom it is reading Footer_text_body and the very very bottom I have

 

Warning: session_write_close() [function.session-write-close]: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively in ***/includes/functions/sessions.php on line 136

 

On my admin panel I have this on the login page

 

Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively in Unknown on line 0

 

 

I take it I didnt fix the register globals very well...

Posted

Ok - posting the update incase someone gets the same error and then needs to know how I fixed it (very frustrating when you find hundreds of posts where people just say "I fixed it" but don't elaborate!)

 

I shelved the display error and decided to tackle the register globals issue. A lot of posts mention a patch that is available, it can be downloaded from the contributions sections. I completed this MANUALLY - I did not upload the files as this is how I lost my site initially (uploaded over the top of existing files and ugh..headache) - it may still work for you with the overwrite but I wasn't going to risk it.

I followed the whole process in the catalog install instructions and my shop is now displaying for me without switching to the error page again (it would come up before, but with a refresh it would head back to the error I first mentioned)..the shop shows on all the computers in the house so I am hoping it is somewhat fixed

 

My store is still not showing the box titles correctly but I can work with that ;o)

Archived

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

×
×
  • Create New...