Post by cutlass » Tue Mar 17, 2009 1:18 pm

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

Newbie

Posts

Joined
Tue Mar 17, 2009 1:15 pm

Post by fido-x » Tue Mar 17, 2009 9:50 pm

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.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by fido-x » Tue Mar 17, 2009 10:09 pm

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.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by cutlass » Wed Mar 18, 2009 3:02 am

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

Newbie

Posts

Joined
Tue Mar 17, 2009 1:15 pm

Post by Daniel » Wed Mar 18, 2009 7:16 am

Give me a sec to fix this.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Daniel » Wed Mar 18, 2009 8:33 am

You can fix this now if you liike by switching off registere globals. Its a big security problem with them on.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by riopar10 » Thu Mar 19, 2009 7:07 am

As can be turned off register globar. --- v 1.2

Newbie

Posts

Joined
Sat Feb 14, 2009 8:01 am

Post by cutlass » Thu Mar 19, 2009 2:08 pm

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

Newbie

Posts

Joined
Tue Mar 17, 2009 1:15 pm

Post by Daniel » Fri Mar 20, 2009 8:00 am

try the new version i just released.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by cutlass » Sun Mar 22, 2009 3:36 am

got same errors

Newbie

Posts

Joined
Tue Mar 17, 2009 1:15 pm

Post by Daniel » Sun Mar 22, 2009 4:26 am

you have not confgiured your server properly

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Daniel » Sun Mar 22, 2009 4:51 am

Is it possible you can pm me the FTP info to your store?

I would like to investigate this problem further.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Daniel » Sun Mar 22, 2009 5:11 am

When you reinstall does it say error where globals are one the installation first page?

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by cutlass » Sun Mar 22, 2009 5:35 am

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?

Newbie

Posts

Joined
Tue Mar 17, 2009 1:15 pm

Post by Daniel » Mon Mar 23, 2009 9:15 pm

Can you try the latest version?

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by AliceH » Thu Aug 18, 2011 6:28 pm

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.

https://www.embroidery-allsorts.com/


User avatar
Active Member

Posts

Joined
Sun Jan 09, 2011 11:00 am
Location - Australia

Post by AliceH » Sun Sep 11, 2011 10:31 am

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.

https://www.embroidery-allsorts.com/


User avatar
Active Member

Posts

Joined
Sun Jan 09, 2011 11:00 am
Location - Australia

Post by specialtyleds » Mon Sep 12, 2011 10:06 pm

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 

Newbie

Posts

Joined
Mon Sep 12, 2011 10:00 pm
Who is online

Users browsing this forum: No registered users and 74 guests