Jump to content


Corporate Sponsors


Latest News: (loading..)

I get some warnings at my webpage


12 replies to this topic

#1 Stigah

  • Community Member
  • 25 posts
  • Real Name:Stig

Posted 03 April 2011, 20:24

Hello. I just moved all the V3 files over to the webserver, and when I am going to install it, I get this error/warnings:

Quote

Notice: Undefined index: http_cookie_path in /usr/home/christiang/domains/christiangamemaker.com/public_html/cst/osCommerce/OM/Core/OSCOM.php on line 135

Notice: Undefined index: http_cookie_domain in /usr/home/christiang/domains/christiangamemaker.com/public_html/cst/osCommerce/OM/Core/OSCOM.php on line 135

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/christiang/domains/christiangamemaker.com/public_html/cst/osCommerce/OM/Core/OSCOM.php:135) in /usr/home/christiang/domains/christiangamemaker.com/public_html/cst/osCommerce/OM/Core/OSCOM.php on line 414

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/christiang/domains/christiangamemaker.com/public_html/cst/osCommerce/OM/Core/OSCOM.php:135) in /usr/home/christiang/domains/christiangamemaker.com/public_html/cst/osCommerce/OM/Core/Site/Setup/Language.php on line 46

Does anybody here know how to fix this?
I thank you in advance :)

#2 tefa

  • Community Member
  • 15 posts
  • Real Name:Lin Te Fa

Posted 04 April 2011, 02:36

I have same problem

#3 Stigah

  • Community Member
  • 25 posts
  • Real Name:Stig

Posted 04 April 2011, 10:34

Could somebody please help Tefa and me? :)

#4 Harald Ponce de Leon

  • Manager
  • 3,266 posts
  • Real Name:Harald Ponce de Leon
  • Gender:Male
  • Location:Solingen, Germany

Posted 04 April 2011, 10:42

Hi Stig..

Where do those errors appear and when? Is this during the setup and installation or afterwards?

Kind regards,
Harald Ponce de Leon
osCommerce, Sell With Emotion

#5 Stigah

  • Community Member
  • 25 posts
  • Real Name:Stig

Posted 04 April 2011, 12:21

Thanks for answering. This appear on the top of the webpage, during the setup and installation. I have not installed it yet, because I want everything to work well, before installing it.
The webhotel (or what it's called) is using the newest version of PHP.
Link to the temporarily link: http://cst.christiangamemaker.com/

#6 Harald Ponce de Leon

  • Manager
  • 3,266 posts
  • Real Name:Harald Ponce de Leon
  • Gender:Male
  • Location:Solingen, Germany

Posted 04 April 2011, 12:28

Hi Stig..

Thanks for that. I'm looking into it now.

Kind regards,
Harald Ponce de Leon
osCommerce, Sell With Emotion

#7 Harald Ponce de Leon

  • Manager
  • 3,266 posts
  • Real Name:Harald Ponce de Leon
  • Gender:Male
  • Location:Solingen, Germany

Posted 04 April 2011, 12:32

Hi Stig..

Can you add the following to your osCommerce/OM/Config/settings.ini file in the [Setup] section:

http_cookie_domain = ""
http_cookie_path = ""

This should fix the problem.

Thanks,
Harald Ponce de Leon
osCommerce, Sell With Emotion

#8 Harald Ponce de Leon

  • Manager
  • 3,266 posts
  • Real Name:Harald Ponce de Leon
  • Gender:Male
  • Location:Solingen, Germany

Posted 04 April 2011, 12:33

Hi Stig..

And also the [RPC] section.

Kind regards,
Harald Ponce de Leon
osCommerce, Sell With Emotion

#9 Stigah

  • Community Member
  • 25 posts
  • Real Name:Stig

Posted 04 April 2011, 12:35

Thank you very much Harald! The error disappeared, and I can now install oscommerce. Thank you! :D

#10 Stigah

  • Community Member
  • 25 posts
  • Real Name:Stig

Posted 04 April 2011, 12:39

EDIT:
Could you take a look at the webpage now. What is wrong now? I have tried to change the permission to the cache.php file, but it didn't work.
On line 48, it's standing:

Quote

return ( file_put_contents(OSCOM::BASE_DIRECTORY . 'Work/Cache/' . $key . '.cache', serialize($data), LOCK_EX) !== false );

Edited by Stigah, 04 April 2011, 12:41.


#11 Harald Ponce de Leon

  • Manager
  • 3,266 posts
  • Real Name:Harald Ponce de Leon
  • Gender:Male
  • Location:Solingen, Germany

Posted 04 April 2011, 12:41

Hi Stig..

Try setting write permissions on osCommerce/OM/Work to allow the webserver to write to those directories.

Kind regards,
Harald Ponce de Leon
osCommerce, Sell With Emotion

#12 Stigah

  • Community Member
  • 25 posts
  • Real Name:Stig

Posted 04 April 2011, 13:25

Worked! Thank you very much, again! :D

#13 Iggy

  • Community Member
  • 1,294 posts
  • Real Name:BOFH
  • Gender:Male
  • Location:Seattle, WA

Posted 04 April 2011, 21:29

View PostHarald Ponce de Leon, on 04 April 2011, 12:32, said:

Hi Stig..

Can you add the following to your osCommerce/OM/Config/settings.ini file in the [Setup] section:

http_cookie_domain = ""
http_cookie_path = ""

This should fix the problem.

Thanks,

Just to confirm that. Only had to add it to the Setup section to make it work
Running locally - Mac OS X 10.6 - XAMPP 1.73
Everything's funny but nothing's a joke...