osCmax v2.5 User Manual
Results 1 to 5 of 5

Problem: Warning: main(includes/languages/

This is a discussion on Problem: Warning: main(includes/languages/ within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hi: I have just downloaded and installed the latest version (RC2) and the app seems to be working but I ...

      
  1. #1
    Member thetraveller's Avatar
    Join Date
    Oct 2003
    Location
    Soto Grande, Spain
    Posts
    31
    Rep Power
    0


    Default Problem: Warning: main(includes/languages/

    Hi:

    I have just downloaded and installed the latest version (RC2) and the app seems to be working but I run into the following errors at random times:


    Warning: main(includes/languages/affiliate_.php): failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/sabregroup.net/httpdocs/demos/shopping/admin/includes/affiliate_application_top.php on line 57

    Warning: main(includes/languages/affiliate_.php): failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/sabregroup.net/httpdocs/demos/shopping/admin/includes/affiliate_application_top.php on line 57

    Warning: main(includes/languages/affiliate_.php): failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/sabregroup.net/httpdocs/demos/shopping/admin/includes/affiliate_application_top.php on line 57

    Fatal error: main(): Failed opening required 'includes/languages/affiliate_.php' (include_path='.:/usr/local/psa/apache/lib/php') in /usr/local/psa/home/vhosts/sabregroup.net/httpdocs/demos/shopping/admin/includes/affiliate_application_top.php on line 57

    I also get other errors very similiar to the above (in application_top.php) that also deal with location of langauge files.

    If I edit the file in question and remove '$language' and replace it with 'english' then all works fine but this of course stops any chance of using different langauges.

    I have done a search here without success for any one replorting a similair problem.

    The server is running FreeBSD 4.9 with PHP 4.3.10 (Zend: 1.3.0) and MySQL 4.1.7 using Plesk 7.1.7 as the conrol panel.

    Can anyone point me in the right direction to get this resolved?

    Thanks in advance!

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default RE: Problem: Warning: main(includes/languages/

    Somthing was edit/changed

    affiliate_.php is missing something - should be somthing like:affiliate_application_top.php or something....

    Reupload ALL file from a fresh ZIP (do not have to overwrite configure.php files)
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    Member thetraveller's Avatar
    Join Date
    Oct 2003
    Location
    Soto Grande, Spain
    Posts
    31
    Rep Power
    0


    Default Re: RE: Problem: Warning: main(includes/languages/

    Quote Originally Posted by jpf
    Somthing was edit/changed

    affiliate_.php is missing something - should be somthing like:affiliate_application_top.php or something....

    Reupload ALL file from a fresh ZIP (do not have to overwrite configure.php files)
    Sorry I didn't explain very well.

    What I meant was that I get this problem not only in the file that I show the error message for above but also for other files that include a $language reference such as application_top.php (on line # 290).

    I can correct this by editing out the $language variable and hard coding the language such as english but this remvoes the option of offering different languages to the user.

    Thanks.

  4. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default RE: Re: RE: Problem: Warning: main(includes/languages/

    As I said something has been changed - something was edited/writen over/changed.

    Check your language setting in ADMIN
    Did you delete or remove and of the default languages/settings?
    Check MySQL - table LANGUAGES - both "name" and "directory" should both be the same for english and espanol (german is different).
    Have you tried a diffenet language? Same thing?
    Backup the database and reinstall the default data base - try it again...

    This "error" can not be reproduced - there is something wrong with your configuration/database or a file was edited or a "mod" was added...
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  5. #5
    Member thetraveller's Avatar
    Join Date
    Oct 2003
    Location
    Soto Grande, Spain
    Posts
    31
    Rep Power
    0


    Default Re: RE: Problem: Warning: main(includes/languages/

    Quote Originally Posted by jpf
    .

    Reupload ALL file from a fresh ZIP (do not have to overwrite configure.php files)
    I have reloaded the site and the database from scratch and the problem is still there.

    I also tried just a plain OSCommerce 2.2 MS2 and had the same problem.

    Anyone have any ideas on what is happening here?

    Also when I did the Max install I have no products in the store, is that correct?

    Thanks.

Similar Threads

  1. Installation problem with languages?
    By warrenthewindmill in forum osCmax v2 Installation issues
    Replies: 11
    Last Post: 07-01-2006, 10:30 PM
  2. Problem with languages in Oscommerce
    By Samuel6411 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-26-2004, 09:33 AM
  3. Unable to access includes/languages/german/login.php
    By onesix in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 07-02-2004, 07:30 AM
  4. problem with includes/modules directory
    By Anonymous in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 04-22-2004, 03:10 PM
  5. "Warning: main(includes/languages/english/): failed to
    By MeGaHeRtZ in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 06-25-2003, 03:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •