Post by p4m » Tue Mar 30, 2010 5:58 pm

Hi, I have just installed OC1.4.4 On my site and once done I try to load the admin or store pages I get the error on the joined sceen capture
I have v delete the browser cache, and after I got this message:
IISPassword
The page cannot be displayed
There is a problem with the page youare trying to reach and it cannot be displayed. It is most likely that configuration files for this url are corrupted.

Please try the following:

* Click the Refresh button, or try again later.
* Open the home page, and then look for links to the information you want.
* If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the home page.

HTTP Error 500
IISPassword for Internet Information Services
Here is my conf.php file on the server:

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://www.pastel-portraits.com/Opencart144/admin/');
define('HTTP_CATALOG', 'http://www.pastel-portraits.com/Opencart144/');
define('HTTP_IMAGE', 'http://www.pastel-portraits.com/Opencart144/image/');

// HTTPS
define('HTTPS_SERVER', 'http://www.pastel-portraits.com/Opencart144/admin/');
define('HTTPS_IMAGE', 'http://www.pastel-portraits.com/Opencart144/image/');
// DIR
define('DIR_APPLICATION', '\\boswinfs03\xxxx\Opencart144/catalog/');
define('DIR_SYSTEM', '\\boswinfs03\xxxx\Opencart144/system/');
define('DIR_DATABASE', '\\boswinfs03xxxx\Opencart144/system/database/');
define('DIR_LANGUAGE', '\\boswinfs03\xxxx\Opencart144/catalog/language/');
define('DIR_TEMPLATE', '\\boswinfs03\xxxx\Opencart144/catalog/view/theme/');
define('DIR_CONFIG', '\\boswinfs03\xxxx\Opencart144/system/config/');
define('DIR_IMAGE', '\\boswinfs03\xxxx\Opencart144/image/');
define('DIR_CACHE', '\\boswinfs03\xxxx\Opencart144/system/cache/');
define('DIR_DOWNLOAD', '\\boswinfs03\xxxx\Opencart144/download/');
define('DIR_LOGS', '\\boswinfs03\xxxx\Opencart144/system/logs/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'pts.webhost4lifemysql.com');
define('DB_USERNAME', 'xxxxxxxxx');
define('DB_PASSWORD', 'xxxxxxxx');
define('DB_DATABASE', 'opencart_144');
define('DB_PREFIX', 'oc_');
?>

Where \\\boswinfs03\xxxx\ is the site root and Opencart144 the newly installed opencart folder.

Thank you for any help.

Attachments

20100330-Error mess 30-03-2010.jpg

20100330-Error mess 30-03-2010.jpg (140.44 KiB) Viewed 3225 times


p4m
New member

Posts

Joined
Mon May 04, 2009 7:53 pm

Post by Daniel » Tue Mar 30, 2010 8:37 pm

your missing a file!

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Qphoria » Tue Mar 30, 2010 11:06 pm

maybe the whole system folder. Or it can't read it

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by p4m » Wed Mar 31, 2010 8:52 pm

No, The system folder is right there, and all files in it. I try a second upload in a new folder and was able to install but same problem happened when I try to load the admin or store page.
Why the startup.php is unfindable??

p4m
New member

Posts

Joined
Mon May 04, 2009 7:53 pm

Post by p4m » Thu Apr 01, 2010 5:54 am

Third attempt.
I have installed OC vers 1.46 to a new folder. named opencart146. The install went with no problem. then I was proposed to load the administration pageor the frontstore page, I choose the Admin one and once more I got the message

Code: Select all

Warning: require_once(\boswinfs03\xxx\opencart146/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in \\boswinfs03\xxx\opencart146\admin\index.php on line 6

Fatal error: require_once() [function.require]: Failed opening required '\boswinfs03\xxx\opencart146/system/startup.php' (include_path='.;c:\php\5\pear') in \\boswinfs03\xxx\opencart146\admin\index.php on line 6
I think I become crazy , I can't figure out what 's the problem since all the files are in the right directory. Can I have some help??? This ruins all my hours of work on my database since OC is running perfect locally but unusuable on my web site.

p4m
New member

Posts

Joined
Mon May 04, 2009 7:53 pm

Post by p4m » Thu Apr 01, 2010 4:23 pm

I have asked my host to put on my root site a php.init file.
Here is how it is setup. could someone let me know if something is wrong in the settings please.
I removed all the information files.

I just change the magic quotes gpc to Off.

Thank you in advance for your unvaluable support.

Code: Select all

[PHP]


;;;;;;;;;;;;;;;;;;;;
; Language Options ;
;;;;;;;;;;;;;;;;;;;;

engine = On

short_open_tag = On

asp_tags = Off

precision    =  12

y2k_compliance = On


zlib.output_compression = Off


unserialize_callback_func=

serialize_precision = 100


allow_call_time_pass_reference = On

safe_mode = On


safe_mode_gid = Off

safe_mode_include_dir =								

safe_mode_exec_dir =


safe_mode_allowed_env_vars = PHP_


safe_mode_protected_env_vars = LD_LIBRARY_PATH

disable_functions =dl,system,exec,passthru,shell_exec


disable_classes =


expose_php = On


;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 120     ; Maximum execution time of each script, in seconds
max_input_time = 60	; Maximum amount of time each script may spend parsing request data
memory_limit = 20M      ; Maximum amount of memory a script may consume (8MB)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


error_reporting  = E_ALL & ~E_NOTICE & ~E_WARNING ; display all errors, warnings and notices


display_errors = On

display_startup_errors = Off


log_errors = On


log_errors_max_len = 0

ignore_repeated_errors = Off

ignore_repeated_source = Off


report_memleaks = On

track_errors = Off

 
  

error_log = "C:\PHP\logs\php4.log"



;;;;;;;;;;;;;;;;;
; Data Handling ;
;;;;;;;;;;;;;;;;;

variables_order = "EGPCS"


register_globals = Off


register_argc_argv = On


post_max_size = 8M


gpc_order = "GPC"

magic_quotes_gpc = Off


magic_quotes_runtime = Off    


magic_quotes_sybase = Off


auto_prepend_file =
auto_append_file =


default_mimetype = "text/html"



;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;


include_path = ".;c:\php\includes"


doc_root = "."


user_dir =


extension_dir = "C:\php\4\extensions"


enable_dl = On

cgi.force_redirect = 0


fastcgi.impersonate = 1;

fastcgi.log = 1


 

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;


file_uploads = On


upload_tmp_dir = C:\PHP\uploadtemp  ; temporary directory for HTTP uploaded files (will use system default if not specified)

upload_max_filesize = 10M


;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;

allow_url_fopen = On




default_socket_timeout = 60




;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension



;Windows Extensions

extension=php_crack.dll
extension=php_curl.dll
extension=php_db.dll
extension=php_dba.dll
extension=php_dbase.dll
extension=php_dbx.dll
extension=php_domxml.dll
;extension=php_exif.dll
extension=php_fdf.dll
extension=php_filepro.dll
extension=php_gd2.dll
;extension=php_gettext.dll
extension=php_hyperwave.dll
extension=php_iconv.dll
;extension=php_ifx.dll
;extension=php_iisfunc.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_java.dll
;extension=php_ldap.dll
extension=php_mcrypt.dll
extension=php_mhash.dll
extension=php_mime_magic.dll
extension=php_ming.dll
extension=php_mssql.dll
;extension=php_msql.dll
;extension=php_oci8.dll
extension=php_openssl.dll
;extension=php_oracle.dll
extension=php_pdf.dll
;extension=php_pgsql.dll
;extension=php_printer.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sybase_ct.dll
;extension=php_w32api.dll
extension=php_xmlrpc.dll
extension=php_xslt.dll
;extension=php_yaz.dll
extension=php_zip.dll


;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;

[Syslog]

define_syslog_variables  = Off

[mail function]
; For Win32 only.
SMTP = localhost ; for Win32 only
smtp_port = 25
sendmail_from= me@localhost.com ; for Win32 only

; For Win32 only.
;sendmail_from = me@example.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

[Java]
;java.class.path = .\php_java.jar
;java.home = c:\jdk
;java.library = c:\jdk\jre\bin\hotspot\jvm.dll 
;java.library.path = .\

[SQL]
sql.safe_mode = Off

[ODBC]
;odbc.default_db    =  Not yet implemented
;odbc.default_user  =  Not yet implemented
;odbc.default_pw    =  Not yet implemented

; Allow or prevent persistent links.
odbc.allow_persistent = On

; Check that a connection is still valid before reuse.
odbc.check_persistent = On

; Maximum number of persistent links.  -1 means no limit.
odbc.max_persistent = -1

; Maximum number of links (persistent + non-persistent).  -1 means no limit.
odbc.max_links = -1  

; Handling of LONG fields.  Returns number of bytes to variables.  0 means
; passthru.
odbc.defaultlrl = 4096  


odbc.defaultbinmode = 1  

[MySQL]

mysql.allow_persistent = On


mysql.max_persistent = -1

; Maximum number of links (persistent + non-persistent).  -1 means no limit.
mysql.max_links = -1


mysql.default_port =

mysql.default_socket =

; Default host for mysql_connect() (doesn't apply in safe mode).
mysql.default_host =

; Default user for mysql_connect() (doesn't apply in safe mode).
mysql.default_user =


mysql.default_password =

; Maximum time (in seconds) for connect timeout. -1 means no limit
mysql.connect_timeout = 60

; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
; SQL-Errors will be displayed.
mysql.trace_mode = Off

[mSQL]
; Allow or prevent persistent links.
msql.allow_persistent = On

; Maximum number of persistent links.  -1 means no limit.
msql.max_persistent = -1

; Maximum number of links (persistent+non persistent).  -1 means no limit.
msql.max_links = -1

[PostgresSQL]
; Allow or prevent persistent links.
pgsql.allow_persistent = On

; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
pgsql.auto_reset_persistent = Off 

; Maximum number of persistent links.  -1 means no limit.
pgsql.max_persistent = -1


pgsql.max_links = -1


pgsql.ignore_notice = 0

pgsql.log_notice = 0

[Sybase]
; Allow or prevent persistent links.
sybase.allow_persistent = On

; Maximum number of persistent links.  -1 means no limit.
sybase.max_persistent = -1

; Maximum number of links (persistent + non-persistent).  -1 means no limit.
sybase.max_links = -1

;sybase.interface_file = "/usr/sybase/interfaces"

; Minimum error severity to display.
sybase.min_error_severity = 10

; Minimum message severity to display.
sybase.min_message_severity = 10


sybase.compatability_mode = Off

[Sybase-CT]
; Allow or prevent persistent links.
sybct.allow_persistent = On

; Maximum number of persistent links.  -1 means no limit.
sybct.max_persistent = -1

; Maximum number of links (persistent + non-persistent).  -1 means no limit.
sybct.max_links = -1

; Minimum server message severity to display.
sybct.min_server_severity = 10

; Minimum client message severity to display.
sybct.min_client_severity = 10

[dbx]

dbx.colnames_case = "unchanged"

[bcmath]
; Number of decimal digits for all bcmath functions.
bcmath.scale = 0

[browscap]
browscap = c:/php/extras/lite_php_browscap.ini

[Informix]
; Default host for ifx_connect() (doesn't apply in safe mode).
ifx.default_host =

; Default user for ifx_connect() (doesn't apply in safe mode).
ifx.default_user =

; Default password for ifx_connect() (doesn't apply in safe mode).
ifx.default_password =

; Allow or prevent persistent links.
ifx.allow_persistent = On

; Maximum number of persistent links.  -1 means no limit.
ifx.max_persistent = -1

; Maximum number of links (persistent + non-persistent).  -1 means no limit.
ifx.max_links = -1

; If on, select statements return the contents of a text blob instead of its id.
ifx.textasvarchar = 0

; If on, select statements return the contents of a byte blob instead of its id.
ifx.byteasvarchar = 0

; Trailing blanks are stripped from fixed-length char columns.  May help the
; life of Informix SE users.
ifx.charasvarchar = 0

; If on, the contents of text and byte blobs are dumped to a file instead of
; keeping them in memory.
ifx.blobinfile = 0

; NULL's are returned as empty strings, unless this is set to 1.  In that case,
; NULL's are returned as string 'NULL'.
ifx.nullformat = 0

[Session]
; Handler used to store/retrieve data.
session.save_handler = files


session.save_path="C:\PHP\sessiondata"

; Whether to use cookies.
session.use_cookies = 1

session.name = PHPSESSID

; Initialize session on request startup.
session.auto_start = 0

; Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0

; The path for which the cookie is valid.
session.cookie_path = /

; The domain for which the cookie is valid.
session.cookie_domain =

; Handler used to serialize data.  php is the standard serializer of PHP.
session.serialize_handler = php


session.gc_probability = 1
session.gc_divisor     = 100


session.gc_maxlifetime = 1440


session.bug_compat_42 = 1
session.bug_compat_warn = 1

session.referer_check =

; How many bytes to read from the file.
session.entropy_length = 0

; Specified here to create the session id.
session.entropy_file =

;session.entropy_length = 16

;session.entropy_file = /dev/urandom


session.cache_limiter = nocache


session.cache_expire = 180

session.use_trans_sid = 0
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
; argument passed to save_handler

[MSSQL]
; Allow or prevent persistent links.
mssql.allow_persistent = On

; Maximum number of persistent links.  -1 means no limit.
mssql.max_persistent = -1

; Maximum number of links (persistent+non persistent).  -1 means no limit.
mssql.max_links = -1

; Minimum error severity to display.
mssql.min_error_severity = 10

; Minimum message severity to display.
mssql.min_message_severity = 10

; Compatability mode with old versions of PHP 3.0.
mssql.compatability_mode = Off

; Connect timeout
;mssql.connect_timeout = 5

; Query timeout
;mssql.timeout = 60

; Valid range 0 - 2147483647.  Default = 4096.
;mssql.textlimit = 4096

; Valid range 0 - 2147483647.  Default = 4096.
;mssql.textsize = 4096

; Limits the number of records in each batch.  0 = all records in one batch.
;mssql.batchsize = 0

; Use NT authentication when connecting to the server
mssql.secure_connection = Off

;mssql.max_procs = -1

[Assertion]
; Assert(expr); active by default.
;assert.active = On

; Issue a PHP warning for each failed assertion.
;assert.warning = On

; Don't bail out by default.
;assert.bail = Off

; User-function to be called if an assertion fails.
;assert.callback = 0

; Eval the expression with current error_reporting().  Set to true if you want
; error_reporting(0) around the eval().
;assert.quiet_eval = 0

[Ingres II]
; Allow or prevent persistent links.
ingres.allow_persistent = On

; Maximum number of persistent links.  -1 means no limit.
ingres.max_persistent = -1

; Maximum number of links, including persistents.  -1 means no limit.
ingres.max_links = -1

; Default database (format: [node_id::]dbname[/srv_class]).
ingres.default_database =

; Default user.
ingres.default_user =

; Default password.
ingres.default_password =

[Verisign Payflow Pro]
; Default Payflow Pro server.
pfpro.defaulthost = "test-payflow.verisign.com"

; Default port to connect to.
pfpro.defaultport = 443

; Default timeout in seconds.
pfpro.defaulttimeout = 30

; Default proxy IP address (if required).
;pfpro.proxyaddress =

; Default proxy port.
;pfpro.proxyport =

; Default proxy logon.
;pfpro.proxylogon =

; Default proxy password.
;pfpro.proxypassword =

[com]

[Printer]
;printer.default_printer = ""

[mbstring]
; language for internal character representation.
;mbstring.language = Japanese


; http input encoding.
;mbstring.http_input = auto

; http output encoding. mb_output_handler must be
; registered as output buffer to function
;mbstring.http_output = SJIS

;mbstring.encoding_translation = Off

; automatic encoding detection order.
; auto means 
;mbstring.detect_order = auto

; substitute_character used when character cannot be converted
; one from another
;mbstring.substitute_character = none;

;mbstring.func_overload = 0

[FrontBase]


[Crack]
; Modify the setting below to match the directory location of the cracklib
; dictionary files.  Include the base filename, but not the file extension.
; crack.default_dictionary = "c:\php\lib\cracklib_dict"

[exif]

;exif.encode_unicode = ISO-8859-15
;exif.decode_unicode_motorola = UCS-2BE
;exif.decode_unicode_intel    = UCS-2LE
;exif.encode_jis = 
;exif.decode_jis_motorola = JIS
;exif.decode_jis_intel    = JIS

; Local Variables:
; tab-width: 4
; End:


mime_magic.magicfile="c:\php\magic.mime"
[Zend]
zend_extension_manager.optimizer_ts="C:\php\Zend\ZendOptimizer-3.3.0\Optimizer-3.3.0"
zend_extension_ts="C:\php\Zend\ZendOptimizer-3.3.0\ZendExtensionManager.dll"

p4m
New member

Posts

Joined
Mon May 04, 2009 7:53 pm

Post by i2Paq » Thu Apr 01, 2010 5:34 pm

p4m wrote:I think I become crazy , I can't figure out what 's the problem since all the files are in the right directory. Can I have some help??? This ruins all my hours of work on my database since OC is running perfect locally but unusuable on my web site.
I'm not sure but what do you run localy? IIS?

I see that you run ISS on your host-server and I wonder why as a standaard *nix server would not cause so many issues.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by p4m » Thu Apr 01, 2010 7:40 pm

Locally I am on Windows Vista running Wamp 5 1.7.0.
Host server on microsoft as well.

p4m
New member

Posts

Joined
Mon May 04, 2009 7:53 pm

Post by i2Paq » Thu Apr 01, 2010 11:46 pm

p4m wrote:Locally I am on Windows Vista running Wamp 5 1.7.0.
Host server on microsoft as well.
WAMMP is something completely differend then ISS with php/mySQL support.

I would change over to a *nix account/server, just ask your hoster.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by p4m » Sat Apr 03, 2010 4:55 pm

Thanks for the advice.

I 've installed my store on a Unix sever at an Opencart supported Hosting company and everything go perfect. The problem came obviously from my first host . So people, just beware of after install problem on some Windows based hosts.

p4m
New member

Posts

Joined
Mon May 04, 2009 7:53 pm
Who is online

Users browsing this forum: No registered users and 46 guests