Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fresh Installation on Suse 9.0


AllNicksAreInUse

Recommended Posts

Posted

Hi there,

 

i already used osCommerce on Suse 8 without any problems, with the new Suse 9 Installation i cannot get it working. I searched everywhere - found some topics and tried the solutions from there, but noone worked for me.

 

here is what i did:

 

1) installed standard os-commerce installation ms2

2) installer worked, database mysql worked, imported database... worked.

3) started the catalog -> works the first time, after "refreshing" or clicking anything there -> error

4) started the admin pages -> works the first time, clicking anything -> same problem like with the catalog.

 

the errormessage is:

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /www-server/webserver/register.xxxxxxx.net/includes/application_top.php on line 285

 

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/share/php') in /www-server/webserver/register.xxxxxxxxxxx.net/includes/application_top.php on line 285

 

a search on google with that error brings up a lot of sites with the problems and less solutions which i tried. :blink: maybe anyone can tell me what i should try?

 

many thanks in advance. as i know, you need more informations, so i will post my phpinfo from here (sorry for xxxxx'ing some data, but i think they are not needed):

 

again, thanks for any help,

 

/Marc

 

System Linux ssl 2.4.21-266-smp4G #1 SMP Fri Dec 10 17:06:22 UTC 2004 i686

Build Date Sep 24 2004 09:00:03

Configure Command './configure' '--prefix=/usr/share' '--datadir=/usr/share/php' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-dbase' '--enable-discard-path' '--enable-exif' '--enable-filepro' '--enable-force-cgi-redirect' '--enable-ftp' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--enable-inline-optimization' '--enable-magic-quotes' '--enable-mbstr-enc-trans' '--enable-mbstring' '--enable-mbregex' '--enable-memory-limit' '--enable-safe-mode' '--enable-shmop' '--enable-sigchild' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--enable-wddx' '--enable-yp' '--with-bz2' '--with-dom=/usr/include/libxml2' '--with-ftp' '--with-gdbm' '--with-gettext' '--with-gmp' '--with-imap=yes' '--with-iodbc' '--with-jpeg-dir=/usr' '--with-ldap=yes' '--with-mcal=/usr' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr' '--with-ndbm' '--with-pgsql=/usr' '--with-png-dir=/usr' '--with-readline' '--with-snmp' '--with-t1lib' '--with-tiff-dir=/usr' '--with-ttf' '--with-freetype-dir=yes' '--with-xml' '--with-xpm-dir=/usr/X11R6' '--with-zlib=yes' '--with-qtdom=/usr/lib/qt3' '--with-gd' '--with-openssl' '--with-curl' '--with-swf=/usr/src/packages/BUILD/swf/dist/' '--with-imap-ssl' '--enable-xslt' '--with-xslt-sablot' '--with-iconv' '--with-mm' '--with-apxs=/usr/sbin/apxs' 'i586-suse-linux'

Server API Apache

Virtual Directory Support disabled

Configuration File (php.ini) Path /etc/php.ini

PHP API 20020918

PHP Extension 20020429

Zend Extension 20021010

Debug Build no

Thread Safety disabled

Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib

 

Configuration

PHP Core

Directive Local Value Master Value

allow_call_time_pass_reference On On

allow_url_fopen On On

always_populate_raw_post_data Off Off

arg_separator.input & &

arg_separator.output & &

asp_tags Off Off

auto_append_file no value no value

auto_prepend_file no value no value

browscap no value no value

default_charset no value no value

default_mimetype text/html text/html

define_syslog_variables Off Off

disable_classes no value no value

disable_functions no value no value

display_errors On On

display_startup_errors Off Off

doc_root no value no value

docref_ext no value no value

docref_root no value no value

enable_dl On On

error_append_string no value no value

error_log no value no value

error_prepend_string no value no value

error_reporting 2039 2039

expose_php On On

extension_dir /usr/share/extensions/no-debug-non-zts-20020429 /usr/share/extensions/no-debug-non-zts-20020429

file_uploads On On

gpc_order GPC GPC

highlight.bg #FFFFFF #FFFFFF

highlight.comment #FF8000 #FF8000

highlight.default #0000BB #0000BB

highlight.html #000000 #000000

highlight.keyword #007700 #007700

highlight.string #DD0000 #DD0000

html_errors On On

ignore_repeated_errors Off Off

ignore_repeated_source Off Off

ignore_user_abort Off Off

implicit_flush Off Off

include_path .:/usr/share/php .:/usr/share/php

log_errors Off Off

log_errors_max_len 1024 1024

magic_quotes_gpc On On

magic_quotes_runtime Off Off

magic_quotes_sybase Off Off

max_execution_time 30 30

max_input_time 60 60

memory_limit 8M 8M

open_basedir no value no value

output_buffering no value no value

output_handler no value no value

post_max_size 8M 8M

precision 12 12

register_argc_argv On On

register_globals Off Off

report_memleaks On On

safe_mode Off Off

safe_mode_exec_dir /usr/lib/php/bin /usr/lib/php/bin

safe_mode_gid Off Off

safe_mode_include_dir no value no value

sendmail_from [email protected] [email protected]

sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i

serialize_precision 100 100

short_open_tag On On

SMTP localhost localhost

smtp_port 25 25

sql.safe_mode Off Off

track_errors Off Off

unserialize_callback_func no value no value

upload_max_filesize 2M 2M

upload_tmp_dir no value no value

user_dir no value no value

variables_order EGPCS EGPCS

xmlrpc_error_number 0 0

xmlrpc_errors Off Off

y2k_compliance On On

 

 

apache

APACHE_INCLUDE no value

APACHE_TARGET no value

Apache Version Apache/1.3.28

Apache Release 10328100

Apache API Version 19990320

Hostname:Port register.xxxxxxxx:80

User/Group wwwrun(30)/8

Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100

Timeouts Connection: 300 - Keep-Alive: 15

Server Root /srv/www

Loaded Modules mod_userdir, mod_ssl, mod_php4, mod_perl, mod_setenvif, mod_so, mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_proxy, mod_digest, mod_auth_db, mod_auth_dbm, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_speling, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_referer, mod_log_agent, mod_log_config, mod_define, mod_env, mod_vhost_alias, mod_mmap_static, http_core

 

Directive Local Value Master Value

child_terminate 0 0

engine 1 1

last_modified 0 0

xbithack 0 0

 

 

Apache Environment

Variable Value

DOCUMENT_ROOT /www-server/webserver/register.xxxxxxxxx.net

downgrade-1_0 1

force-response-1_0 1

HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*

HTTP_ACCEPT_LANGUAGE de

HTTP_CACHE_CONTROL max-age=259200

HTTP_CONNECTION keep-alive

HTTP_HOST 213.xxx.xxx.xxx

HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; (R1 1.5); .NET CLR 1.1.4322)

HTTP_VIA 1.0 intranet.xxxxxxxx.net:8080 (squid/2.5.STABLE3)

HTTP_X_FORWARDED_FOR 192.xxxxxxxxxxxxx

nokeepalive 1

PATH /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin

REMOTE_ADDR 213.xxxxxxxxxxx

REMOTE_HOST xxxxxxxxxxxxx.de

REMOTE_PORT 35927

SCRIPT_FILENAME /www-server/webserver/register.xxxxxxxxxxxx.net/test.php

SERVER_ADDR 213.xxxxxxxxxxxx

SERVER_ADMIN [email protected]

SERVER_NAME register.xxxxxxxxxxxx.net

SERVER_PORT 80

SERVER_SIGNATURE <ADDRESS>Apache/1.3.28 Server at register.xxxxxxx.net Port 80</ADDRESS>

SERVER_SOFTWARE Apache/1.3.28 (Linux/SuSE) mod_ssl/2.8.15 OpenSSL/0.9.7b PHP/4.3.3 mod_perl/1.28

ssl-unclean-shutdown 1

GATEWAY_INTERFACE CGI/1.1

SERVER_PROTOCOL HTTP/1.0

REQUEST_METHOD GET

QUERY_STRING no value

REQUEST_URI /test.php

SCRIPT_NAME /test.php

Posted

rather than posting this info from server info post your configure.php

Posted
rather than posting this info from server info post your configure.php

 

Hi Mibble,

 

thanks for the quick response, here is my configure.php

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://register.xxxxxxxxx.net'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://register.xxxxxxxxx.net'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'register.xxxxxxxxxx.net');

define('HTTPS_COOKIE_DOMAIN', 'register.xxxxxxxxxxx.net');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/www-server/webserver/register.xxxxxxxx.net/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', '192.168.0.xxx'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'xxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxx');

define('DB_DATABASE', 'shop2005');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Posted

And do you actually have a full ssl certificate installed for your website - as it says in the file above?

 

Vger

Posted
And do you actually have a full ssl certificate installed for your website - as it says in the file above?

 

Vger

 

Hi Vger,

 

yes, installed and working. The webserver works with and without SSL under the same directory.... AND its independent if you use SSL or non-SSL... first hit on the osCommerce Site works - 2nd Access Fails...

 

thanks for your help,

 

/Marc

Archived

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

×
×
  • Create New...