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

Warnings on admin side of osCommerce

This is a discussion on Warnings on admin side of osCommerce within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi All, I am getting these 2 warnings. With my all efforts, still i am not able to fix it. ...

      
  1. #1
    Lurker
    Join Date
    Apr 2008
    Posts
    4
    Rep Power
    0


    Default Warnings on admin side of osCommerce

    Hi All,

    I am getting these 2 warnings. With my all efforts, still i am not able to fix it. Can any buddy help me for this problem

    Warning: include(includes/languages/english/) [function.include]: failed to open stream: No such file or directory in /usr/local/www/vhosts/imwiththedog.com/httpdocs/catalog/admin/includes/application_top.php on line 133

    Warning: include() [function.include]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:') in /usr/local/www/vhosts/imwiththedog.com/httpdocs/catalog/admin/includes/application_top.php on line 133


    Front end of website is working fine

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Warnings on admin side of OsCommerc

    includes/languages/english/ is missing the filename it is trying to open. There should be a file name appended to that path. Since there isn't osC is trying to include a directory, which of course will fail. Your admin configure.php file is not correct.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Lurker
    Join Date
    Apr 2008
    Posts
    4
    Rep Power
    0


    Default Re: Warnings on admin side of OsCommerc

    Can you please help me to find what am i doing wrong
    PHP Code:
      define('HTTP_SERVER''http://www.imwiththedog.com/');
      
    define('HTTP_CATALOG_SERVER''http://www.imwiththedog.com/');
      
    define('HTTPS_CATALOG_SERVER''http://www.imwiththedog.com/');
      
    define('ENABLE_SSL_CATALOG''false');
      
    define('DIR_FS_DOCUMENT_ROOT''http://www.imwiththedog.com/catalog/');
      
    define('DIR_WS_ADMIN''/usr/local/www/vhosts/imwiththedog.com/httpdocs/catalog/admin/');
      
    define('DIR_FS_ADMIN''http://www.imwiththedog.com/catalog/admin/');
      
    define('DIR_WS_CATALOG''/catalog/');
      
    define('DIR_FS_CATALOG''http://www.imwiththedog.com/catalog/');
      
    define('DIR_WS_IMAGES''images/');
      
    define('DIR_WS_ICONS'DIR_WS_IMAGES 'icons/');
      
    define('DIR_WS_CATALOG_IMAGES'DIR_WS_CATALOG 'images/');
      
    define('DIR_WS_INCLUDES''includes/');
      
    define('DIR_WS_BOXES'DIR_WS_INCLUDES 'boxes/');
      
    define('DIR_WS_FUNCTIONS'DIR_WS_INCLUDES 'functions/');
      
    define('DIR_WS_CLASSES'DIR_WS_INCLUDES 'classes/');
      
    define('DIR_WS_MODULES'DIR_WS_INCLUDES 'modules/');
      
    define('DIR_WS_LANGUAGES'DIR_WS_INCLUDES 'languages/');
      
    define('DIR_WS_CATALOG_LANGUAGES'DIR_WS_CATALOG 'includes/languages/');
      
    define('DIR_FS_CATALOG_LANGUAGES'DIR_FS_CATALOG 'includes/languages/');
      
    define('DIR_FS_CATALOG_IMAGES'DIR_FS_CATALOG 'images/');
      
    define('DIR_FS_CATALOG_MODULES'DIR_FS_CATALOG 'includes/modules/');
      
    define('DIR_FS_BACKUP'DIR_FS_ADMIN 'backups/'); 

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Warnings on admin side of osCommerce

    All the paths are completely wrong. An absolute path is not a url. There should never be an http:// in an absolute path. It should look like this:

    PHP Code:
      define('HTTP_SERVER''http://www.imwiththedog.com/');
      
    define('HTTP_CATALOG_SERVER''http://www.imwiththedog.com/');
      
    define('HTTPS_CATALOG_SERVER''http://www.imwiththedog.com/');
      
    define('ENABLE_SSL_CATALOG''false');
      
    define('DIR_FS_DOCUMENT_ROOT''/usr/local/www/vhosts/imwiththedog.com/httpdocs/catalog/');
      
    define('DIR_WS_ADMIN''/imwiththedog.com/httpdocs/catalog/admin/');
      
    define('DIR_FS_ADMIN''/usr/local/www/vhosts/imwiththedog.com/httpdocs/catalog/admin/');
      
    define('DIR_WS_CATALOG''/imwiththedog.com/httpdocs/catalog/');
      
    define('DIR_FS_CATALOG''/usr/local/www/vhosts/imwiththedog.com/httpdocs/catalog/');
      
    define('DIR_WS_IMAGES''images/');
      
    define('DIR_WS_ICONS'DIR_WS_IMAGES 'icons/');
      
    define('DIR_WS_CATALOG_IMAGES'DIR_WS_CATALOG 'images/');
      
    define('DIR_WS_INCLUDES''includes/');
      
    define('DIR_WS_BOXES'DIR_WS_INCLUDES 'boxes/');
      
    define('DIR_WS_FUNCTIONS'DIR_WS_INCLUDES 'functions/');
      
    define('DIR_WS_CLASSES'DIR_WS_INCLUDES 'classes/');
      
    define('DIR_WS_MODULES'DIR_WS_INCLUDES 'modules/');
      
    define('DIR_WS_LANGUAGES'DIR_WS_INCLUDES 'languages/');
      
    define('DIR_WS_CATALOG_LANGUAGES'DIR_WS_CATALOG 'includes/languages/');
      
    define('DIR_FS_CATALOG_LANGUAGES'DIR_FS_CATALOG 'includes/languages/');
      
    define('DIR_FS_CATALOG_IMAGES'DIR_FS_CATALOG 'images/');
      
    define('DIR_FS_CATALOG_MODULES'DIR_FS_CATALOG 'includes/modules/');
      
    define('DIR_FS_BACKUP'DIR_FS_ADMIN 'backups/'); 
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Lurker
    Join Date
    Apr 2008
    Posts
    4
    Rep Power
    0


    Default Re: Warnings on admin side of OsCommerc

    Unfortunately it is still not working and I am getting same errors

    Warning: include(includes/languages/english/) [AABox Web Hosting | Web Hosting for the 21st centrury]: failed to open stream: No such file or directory in /usr/local/www/vhosts/imwiththedog.com/httpdocs/catalog/admin/includes/application_top.php on line 133

    Warning: include() [AABox Web Hosting | Web Hosting for the 21st centrury]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:') in /usr/local/www/vhosts/imwiththedog.com/httpdocs/catalog/admin/includes/application_top.php on line 133

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Warnings on admin side of OsCommerc

    Based on how every setting was incorrect, I am almost certain that the path in your configure.php file that you provided is wrong too.

    This is probably incorrect:
    Code:
    /usr/local/www/vhosts/imwiththedog.com/httpdocs/catalog/admin/


    If you dont know how to determine the correct path to your files, ask your host what it is.

    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    Lurker
    Join Date
    Apr 2008
    Posts
    4
    Rep Power
    0


    Default Re: Warnings on admin side of osCommerce

    Hi,

    I am really grateful for your co-operation. Many many thanks for your help. I print the server info and looks like this

    PHP Code:
    Array ( [UNIQUE_ID] => t0BWq87hUR8AAJgdrLgAAAAI [nokeepalive] => [ssl-unclean-shutdown] => [downgrade-1_0] => [force-response-1_0] => [MvCONFIG_DIR_MIVA] => /usr/local/www/vhosts/imwiththedog.com/httpdocs [MvCONFIG_DIR_DATA] => /usr/local/www/vhosts/imwiththedog.com/mivadata [MvCONFIG_DIR_CA] => /usr/local/share/miva/certs [MvCONFIG_LIBRARY] => /usr/local/lib/miva/config/env.so [MvCONFIG_DIR_BUILTIN] => /usr/local/lib/miva/builtins [MvCONFIG_DATABASE_MIVASQL] => /usr/local/lib/miva/databases/mivasql.so [MvCONFIG_SSL_OPENSSL] => /usr/local/lib/miva/ssl/libssl_psa.so [MvCONFIG_SSL_CRYPTO] => /usr/local/lib/miva/ssl/libcrypto_psa.so [MvCONFIG_COMMERCE_AuthorizeNet] => /usr/local/lib/miva/commerce/authnet.so [MvCONFIG_COMMERCE_CyberCash] => /usr/local/lib/miva/commerce/cybercash.so [MvCONFIG_COMMERCE_LinkPoint] => /usr/local/lib/miva/commerce/linkpoint.so [MvCONFIG_COMMERCE_ICS2] => /usr/local/lib/miva/commerce/ics2.so [MvCONFIG_FLAGS_SECURITY] => 23 [MvCONFIG_DIR_USER] => ./ [HTTP_ACCEPT] => image/gifimage/x-xbitmapimage/jpegimage/pjpegapplication/vnd.ms-excelapplication/vnd.ms-powerpointapplication/mswordapplication/x-shockwave-flash, */* [HTTP_ACCEPT_LANGUAGE] => en-us [HTTP_UA_CPU] => x86 [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727) [HTTP_HOST] => I'm With The Dog Clothing with Imprints Personalized for You [HTTP_CONNECTION] => Keep-Alive [PATH] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin [SERVER_SIGNATURE] => 
    Apache/2.0.59 (FreeBSD) mod_python/3.3.1 Python/2.4.4 PHP/5.2.1 with Suhosin-Patch mod_jk/1.2.21 mod_ssl/2.0.59 OpenSSL/0.9.7e-p1 mod_perl/2.0.3 Perl/v5.8.8 Server at I'm With The Dog Clothing with Imprints Personalized for You Port 80[SERVER_SOFTWARE] => Apache/2.0.59 (FreeBSD) mod_python/3.3.1 Python/2.4.4 PHP/5.2.1 with Suhosin-Patch mod_jk/1.2.21 mod_ssl/2.0.59 OpenSSL/0.9.7e-p1 mod_perl/2.0.3 Perl/v5.8.8 [SERVER_NAME] => I'm With The Dog Clothing with Imprints Personalized for You [SERVER_ADDR] => 216.55.160.227 [SERVER_PORT] => 80 [REMOTE_ADDR] => 124.29.212.88 [DOCUMENT_ROOT] => /usr/local/www/vhosts/imwiththedog.com/httpdocs [SERVER_ADMIN] => support@balianti.com [SCRIPT_FILENAME] => /usr/local/www/vhosts/imwiththedog.com/httpdocs/catalog/admin/test.php [REMOTE_PORT] => 54351 [REMOTE_USER] => MGordon [AUTH_TYPE] => Basic [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /catalog/admin/test.php [SCRIPT_NAME] => /catalog/admin/test.php [PHP_SELF] => /catalog/admin/test.php [REQUEST_TIME] => 1208413598 ) 

Similar Threads

  1. Show Model Picture (PopUp) Admin side v 1.00
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-12-2008, 06:14 AM
  2. Show Model Picture (PopUp) Admin side v 1.00
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-11-2008, 04:30 PM
  3. Modifying Menu System on Admin Side
    By cferge in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 04-07-2005, 02:31 PM
  4. how can you list product options side by side
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 09-20-2003, 07:16 PM
  5. Please help: Warnings...
    By laonux in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 02-23-2003, 08:10 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
  •