This is a discussion on uncommon error after installation. within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; osCommerce installs like a breeze. The admin section works great. And the main page of the store works great but ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| osCommerce installs like a breeze. The admin section works great. And the main page of the store works great but as soon as I click on any link on the page I get: "Fatal error. The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition navigationhistory of the object you are trying to operate on was loaded _before_ the session was started in /usr/www/htocs/domain/shop/includes/application_top.php on line 309" Anyone have a clue? It doesn't look like the usual type of error. The only warning I get when opening the main page is that "auto_start" is enabled and needs to be disabled. but since it's not my server I can't change this. Is this what's causing the problem do you think? Thanks for any advice, Kate |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| also, here's my php info if it helps: PHP Version 4.1.2 System Linux europium.colossus.net 2.2.19 #17 SMP Sun Mar 17 22:25:13 PST 2002 i686 unknown Build Date May**3 2002 Configure Command *'./configure' '--with-db' '-with-apache=/home/asenec/apache_1.3.23' '--with-mysql=/usr/local/mysql' '--with-msql=/usr/local/Hughes' '--with-xml' '--with-gd' '--enable-ftp' '--with-imap=/usr/home/colossus/pine4.33' '--with-jpeg-dir=/usr/lib' '--with-png-dir=/usr/local/lib' '--with-zlib' '--with-zlib-dir=/home/asenec/zlib-1.1.4' Server API Apache Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/lib/php.ini ZEND_DEBUG disabled Thread Safety disabled This program makes use of the Zend Scripting Language Engine: Zend Engine v1.1.1, Copyright (c) 1998-2001 Zend Technologies ------------------------------------------------------------------------ PHP 4.0 Credits ------------------------------------------------------------------------ Configuration PHP Core Directive Local Value Master Value allow_call_time_pass_reference On On allow_url_fopen 1 1 always_populate_raw_post_data 0 0 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_functions no value no value display_errors On On display_startup_errors Off Off doc_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 7 7 expose_php On On extension_dir ./ ./ file_uploads 1 1 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_user_abort Off Off implicit_flush Off Off include_path .:/usr/local/lib/php .:/usr/local/lib/php log_errors Off Off magic_quotes_gpc On On magic_quotes_runtime Off Off magic_quotes_sybase Off Off max_execution_time 30 30 open_basedir no value no value output_buffering 0 0 output_handler no value no value post_max_size 8M 8M precision 14 14 register_argc_argv On On register_globals On On safe_mode Off Off safe_mode_exec_dir no value no value safe_mode_gid Off Off safe_mode_include_dir no value no value sendmail_from me@localhost.com me@localhost.com sendmail_path /usr/sbin/sendmail -t /usr/sbin/sendmail -t short_open_tag On On SMTP localhost localhost sql.safe_mode Off Off track_errors Off Off upload_max_filesize 10240000 10240000 upload_tmp_dir no value no value user_dir no value no value variables_order no value no value xmlrpc_error_number 0 0 xmlrpc_errors Off Off y2k_compliance Off Off xml XML Support active XML Namespace Support active EXPAT Version 1.95.2 standard Regex Library Bundled library enabled Dynamic Library Support enabled Path to sendmail /usr/sbin/sendmail -t Directive Local Value Master Value assert.active 1 1 assert.bail 0 0 assert.callback no value no value assert.quiet_eval 0 0 assert.warning 1 1 safe_mode_allowed_env_vars PHP_ PHP_ safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH session.use_trans_sid 1 1 session Session Support enabled Directive Local Value Master Value session.auto_start On On session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain no value no value session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure Off Off session.entropy_file no value no value session.entropy_length 0 0 session.gc_maxlifetime 1440 1440 session.gc_probability 1 1 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler files files session.save_path /tmp /tmp session.serialize_handler php php session.use_cookies On On posix Revision $Revision: 1.33.2.1 $ pcre PCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version 3.4 22-Aug-2000 mysql MySQL Support enabled Active Persistent Links 1 Active Links 1 Client API version 3.23.40 MYSQL_MODULE_TYPE external MYSQL_SOCKET /tmp/mysql.sock MYSQL_INCLUDE -I/usr/local/mysql/include/mysql MYSQL_LIBS -L/usr/local/mysql/lib/mysql -lmysqlclient -L/usr/lib -z Directive Local Value Master Value mysql.allow_persistent On On mysql.default_host no value no value mysql.default_password no value no value mysql.default_port no value no value mysql.default_socket no value no value mysql.default_user no value no value mysql.max_links 5 5 mysql.max_persistent 5 5 msql MSQL Support enabled Allow Persistent Links yes Persistent Links 0/unlimited Total Links 0/unlimited imap IMAP Support enabled IMAP c-Client Version 2000 gd GD Support enabled GD Version 1.6.2 or higher JPG Support enabled PNG Support enabled WBMP Support enabled ftp FTP support enabled db This is GDBM version 1.8.0, as of May 19, 1999. zlib ZLib Support enabled 'zlib:' fopen wrapper enabled Compiled Version 1.1.4 Linked Version 1.1.4 apache APACHE_INCLUDE * APACHE_TARGET * Apache Version Apache/1.3.23 Apache Release 10323100 Apache API Version 19990320 User/Group nobody(99)/99 Max Requests Per Child: 30 - Keep Alive: on - Max Per Connection: 100 Timeouts Connection: 200 - Keep-Alive: 200 Server Root /www Loaded Modules mod_jserv, mod_rewrite, mod_perl, mod_php4, mod_setenvif, mod_so, mod_unique_id, mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_digest, mod_auth_anon, mod_auth, mod_access, mod_alias, mod_proxy, mod_userdir, 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_config, mod_env, 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 HTTP_ACCEPT */* HTTP_ACCEPT_LANGUAGE en HTTP_CONNECTION Keep-Alive HTTP_EXTENSION Security/Remote-Passphrase HTTP_UA_CPU PPC HTTP_UA_OS MacOS HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 5.22; Mac_PowerPC) PATH /usr/bin:/bin REMOTE_ADDR 168.215.86.116 REMOTE_PORT 2834 SERVER_PORT 80 SERVER_SIGNATURE * SERVER_SOFTWARE Apache/1.3.26 (Unix) ApacheJServ/1.1.2 mod_perl/1.26 PHP/4.1.2 GATEWAY_INTERFACE CGI/1.1 SERVER_PROTOCOL HTTP/1.1 REQUEST_METHOD GET QUERY_STRING * HTTP Headers Information HTTP Request Headers Accept */* Accept-Language en Connection Keep-Alive Extension Security/Remote-Passphrase UA-CPU PPC UA-OS MacOS User-Agent Mozilla/4.0 (compatible; MSIE 5.22; Mac_PowerPC) HTTP Response Headers X-Powered-By PHP/4.1.2 Set-Cookie PHPSESSID=c6664591e417f22bcac062ef4036cda9; path=/ Expires Thu, 19 Nov 1981 08:52:00 GMT Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma no-cache Keep-Alive timeout=200, max=100 Connection Keep-Alive Transfer-Encoding chunked Content-Type text/html Additional Modules Environment Variable Value PWD /usr/www/logs HOSTNAME aliencreed.com USER root MACHTYPE i686-pc-linux-gnu SHLVL 2 SHELL /bin/bash HOSTTYPE i686 OSTYPE linux-gnu HOME /home/root TERM dumb PATH /usr/bin:/bin _ /usr/sbin/httpd PHP Variables Variable Value _SERVER["HTTP_ACCEPT"] */** _SERVER["HTTP_ACCEPT_LANGUAGE"] en* _SERVER["HTTP_CONNECTION"] Keep-Alive* _SERVER["HTTP_COOKIE"] cookie_username=kate; cookie_password=27%2FbNxz.oNav.; user=kate; loginkey=368e0d3cbf216c63874ed16d2fed1675* _SERVER["HTTP_EXTENSION"] Security/Remote-Passphrase* _SERVER["HTTP_UA_CPU"] PPC* _SERVER["HTTP_UA_OS"] MacOS* _SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 5.22; Mac_PowerPC)* _SERVER["PATH"] /usr/bin:/bin* _SERVER["REMOTE_PORT"] 2834* _SERVER["SERVER_PORT"] 80* _SERVER["SERVER_SIGNATURE"] * _SERVER["SERVER_SOFTWARE"] Apache/1.3.26 (Unix) ApacheJServ/1.1.2 mod_perl/1.26 PHP/4.1.2* _SERVER["GATEWAY_INTERFACE"] CGI/1.1* _SERVER["SERVER_PROTOCOL"] HTTP/1.1* _SERVER["REQUEST_METHOD"] GET* _SERVER["QUERY_STRING"] * _SERVER["argv"] Array ( ) * _SERVER["argc"] 0* _ENV["PWD"] /usr/www/logs* _ENV["HOSTNAME"] aliencreed.com* _ENV["USER"] root* _ENV["MACHTYPE"] i686-pc-linux-gnu* _ENV["SHLVL"] 2* _ENV["SHELL"] /bin/bash* _ENV["HOSTTYPE"] i686* _ENV["OSTYPE"] linux-gnu* _ENV["HOME"] /home/root* _ENV["TERM"] dumb* _ENV["PATH"] /usr/bin:/bin* _ENV["_"] /usr/sbin/httpd* |
|
#3
| |||
| |||
| I get the same error as dongrocker as well. I think it might have something to do with "session.auto_start On On" being set too "on" can anyone confirm if this is an issue? And if so is there a work around besides turning it to off? |
|
#4
| |||
| |||
| Just as a test, I installed OScommerce on my mac. It took about 12 seconds and it was up and running perfectly. Frustrating to see how flawlessly OSC can work with zero effort considering that I've spent hours on this. Unfortunately, I have no control over the php settings on my live server because it's shared and I'm not the admin... If anyone comes up with a clever solution or can verify that it's the auto_start feature causing the problem, please post! Kate |
|
#5
| ||||
| ||||
| PHP 4.1.2 is ancient and should be updated. Also, you need to have auto_start disabled. You can do this in an .htaccess file. Add the following line to your .htaccess: Code: php_flag session.auto_start 0
__________________ Michael Sasek osCMax Developer
|
|
#6
| |||
| |||
| I installed OC Commerce 2.2 on a dedicated windows NT server using PHP 4.3.1. When I set session.auto_start=0 in php.ini the application works but other php applications do not. i tried changing htaccess file with php_value session.auto_start 0 but this does nothing probably because this is not an apache server. Anyone have any suggestions. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Installation error....Please help!!! | aqua121 | osCommerce 2.2 Installation Help | 1 | 03-22-2006 02:13 PM |
| Fatal Error after installation | terencel | osCMax v2 Installation issues | 2 | 08-23-2005 09:15 AM |
| Installation error question | vincent1288 | osCommerce 2.2 Installation Help | 1 | 03-26-2005 02:37 PM |
| New Installation w/error | bassmanb | osCMax v1.7 Installation | 5 | 12-26-2004 07:52 AM |
| Please Help Error after Installation | rsandy | osCommerce 2.2 Installation Help | 1 | 04-21-2003 04:52 PM |