Page 1 of 1

error on instalation

Posted: Tue Mar 17, 2009 1:18 pm
by cutlass
After entering database info got this message:

Warning: require_once(/home/www/xxxxx/store/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/xxxxxx/store/index.php on line 12

Fatal error: require_once() [function.require]: Failed opening required '/home/www/xxxx/store/system/startup.php' (include_path='.:/usr/local/php5/share/pear') in /home/www/xxxx/store/index.php on line 12


Any suggestions as in what happen and what should i do will be appreciated

Re: error on instalation

Posted: Tue Mar 17, 2009 9:50 pm
by fido-x
You have 2 options, either:
  • (1) download a fresh copy of OpenCart; or
    (2) open your "config.php" and "admin/config.php" files and delete ALL the data in those files and save them as empty files.

Re: error on instalation

Posted: Tue Mar 17, 2009 10:09 pm
by fido-x
Just had a thought. Ignore option 2 above. Just download a fresh copy as the version you have, besides the problem with the config files, still has a bug in the settings in the admin which has since been fixed.

Re: error on instalation

Posted: Wed Mar 18, 2009 3:02 am
by cutlass
thanks for the replys/fix

i re downloaded and after reinstall i get this:

Notice: Undefined index: _SESSION in /home/www/xxxx/store/system/startup.php on line 15

Warning: Invalid argument supplied for foreach() in /home/www/xxxx/store/system/startup.php on line 15

Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/www/xxxx/store/system/library/language.php on line 26

Warning: Cannot modify header information - headers already sent by (output started at /home/www/xxxx/store/system/startup.php:15) in /home/www/xxxx/store/system/library/language.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/www/xxxx/store/system/startup.php:15) in /home/www/xxxx/store/system/library/currency.php on line 44

Warning: Cannot modify header information - headers already sent by (output started at /home/www/xxxx/store/system/startup.php:15) in /home/www/xxxx/store/system/library/response.php on line 65

Re: error on instalation

Posted: Wed Mar 18, 2009 7:16 am
by Daniel
Give me a sec to fix this.

Re: error on instalation

Posted: Wed Mar 18, 2009 8:33 am
by Daniel
You can fix this now if you liike by switching off registere globals. Its a big security problem with them on.

Re: error on instalation

Posted: Thu Mar 19, 2009 7:07 am
by riopar10
As can be turned off register globar. --- v 1.2

Re: error on instalation

Posted: Thu Mar 19, 2009 2:08 pm
by cutlass
I apologize in advance if i'm wasting time to Daniel and others...

after getting the new version and going thru the installation.. i get these warnings in the header...

Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/www/cutlass-recordings.com/store/system/library/language.php on line 26

Warning: Cannot modify header information - headers already sent by (output started at /home/www/cutlass-recordings.com/store/system/library/language.php:26) in /home/www/cutlass-recordings.com/store/system/library/response.php on line 65

I'm giving up on the new version don't know if it is my little knowledge on php, the host i have (which clearly isn't very helpful regarding the php settings) or bugs in the code...

going to try opencart zero and see how it goes...

I am trying this code/webcart as an update to the one i currently use..

thank you for your time

Re: error on instalation

Posted: Fri Mar 20, 2009 8:00 am
by Daniel
try the new version i just released.

Re: error on instalation

Posted: Sun Mar 22, 2009 3:36 am
by cutlass
got same errors

Re: error on instalation

Posted: Sun Mar 22, 2009 4:26 am
by Daniel
you have not confgiured your server properly

Re: error on instalation

Posted: Sun Mar 22, 2009 4:51 am
by Daniel
Is it possible you can pm me the FTP info to your store?

I would like to investigate this problem further.

Re: error on instalation

Posted: Sun Mar 22, 2009 5:11 am
by Daniel
When you reinstall does it say error where globals are one the installation first page?

Re: error on instalation

Posted: Sun Mar 22, 2009 5:35 am
by cutlass
I reinstalled and yes it now says error on the globals... But eitherway i read somewhere you did a compatibility fix. Maybe that's the problem? Is there a way of using opencart with this error?

Re: error on instalation

Posted: Mon Mar 23, 2009 9:15 pm
by Daniel
Can you try the latest version?

Re: error on instalation

Posted: Thu Aug 18, 2011 6:28 pm
by AliceH
I am getting this error occasionally, but not always
Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/embroid/public_html/test/index.php on line 164
Does anyone know how I can fix it?
Alice.

Re: error on instalation

Posted: Sun Sep 11, 2011 10:31 am
by AliceH
For anyone else having this problem it was due to not paying attention in the install. I had globals turned on I had to reinstall and contact my host to get them to turn globals off.

Re: error on instalation - same errors, fresh install

Posted: Mon Sep 12, 2011 10:06 pm
by specialtyleds
Hi there,

I, too, am receiving the same errors and have installed fresh installs ( brand new, I mean just downloaded it now ) multiple times for OpenCart versions following the install.txt directions meticulously. My version is 1.5.1.2, the newest, and I am receiving the following error after a "green checkbox" all ready-to-install install page. Server configuration was confirmed and checked off correctly. Server version is Linux/Godaddy with php 5.2x. Double checked the permissions.

Code: Select all

Warning: session_start() [function.session-start]: open(/var/chroot/home/content/l/a/d/ladi0788/tmp/sess_8381fbb8f08f7d92b1960448f474da60, O_RDWR) failed: No such file or directory (2) in /home/content/l/a/d/ladi0788/html/store/system/library/session.php on line 11

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/l/a/d/ladi0788/html/store/index.php:100) in /home/content/l/a/d/ladi0788/html/store/system/library/session.php on line 11

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/l/a/d/ladi0788/html/store/index.php:100) in /home/content/l/a/d/ladi0788/html/store/system/library/session.php on line 11

Warning: Cannot modify header information - headers already sent by (output started at /home/content/l/a/d/ladi0788/html/store/index.php:100) in /home/content/l/a/d/ladi0788/html/store/index.php on line 175

Warning: Cannot modify header information - headers already sent by (output started at /home/content/l/a/d/ladi0788/html/store/index.php:100) in /home/content/l/a/d/ladi0788/html/store/system/library/currency.php on line 45