Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

First click problem


labsy

Recommended Posts

Posted

Hello!

 

I installed OSC fresh from stratch with all options on default any I noticed the SAME problems on all 3 installations I made:

 

1.) fresh installed OSC does not respond on first few clicks. It simply refreshes the index page. You have to click few times, and from then on, it behaves normally.

 

Try yourself and click on any articel under New products for this month:

http://katalog.seznam.org/

 

2.) SESSIONS do not work on filesystem. OSC does not find session path.

I tried to enter paths like:

/tmp

tmp/

\tmp

c:\domain.com\oscommerce\tmp

etc...

But none of these variables are recognised in configure.php file

So I need to use mysql for sessions

 

Any idea?

Posted

Hi, the tmp directory should sit outside the web (or root) folder. The link I have set in my admin is "/tmp".

 

Also, I couldn't replicate the problem you mentioned. I tried the link and the new products as you sugessted, but it works fine.

 

Cheers,

 

Peter

CE PHOENIX SUPPORTER

Support the Project, go PRO and get access to certified add ons

Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design.

Download the latest version of CE Phoenix from gitHub here

Posted

Hmmm,

 

where is the actual location of \tmp folder? Ok, outside web root, but where outside?

 

Regarding problems with first click - it does not occure always. Seems it is random, and the problem only with Internet Explorer.

Posted

I installed fresh new MySQL and latest version of PHP, but these first clicks still cause problems.

When clicking on product, you need to click 2 or more times to get to product page.

 

I was also monitoring system to see if there is any permissions issue - but I found nothing.

 

Anyone had the same problem?

Posted
Hmmm,

 

where is the actual location of \tmp folder? Ok, outside web root, but where outside?

 

Regarding problems with first click - it does not occure always. Seems it is random, and the problem only with Internet Explorer.

 

 

Are you sure it isn't your computer that is not responding to the clicks? I had no problems in Firefox or IE.

Posted

Nope, it is NOT computer guilt.

It is happening the same on 5 computers, 4 WinXP and 1 Win2003 server. But only in Internet Explorer.

 

The same happens when I go "SEARCH" here, on forum, display some results, and when I click tha PAGE NUMBER 2 or 3 on the bottom of search results, THIS forum always displays ONLY THE FIRST PAGE.

 

BTW - anyone has an idea where should SESSION /tmp folder be located?

If I leave default options in configure.php

define('HTTP_COOKIE_PATH', '/tmp');

and

set folder /tmp permissions to 777 (=everyone read/write/execute/modify)

sessions do not work with files. OSC says it cannot find /tmp\tregwtrvzu42gezv.session

Any idea why?

Posted

Not sure why you are having issues but wanted to mention that the site also works fine for me. One click and it takes me where I want to go.

 

I always store my sessions in the database. Not sure if that would help or not.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted
Not sure why you are having issues but wanted to mention that the site also works fine for me. One click and it takes me where I want to go.

 

I always store my sessions in the database. Not sure if that would help or not.

Thanx, I'll investigate my situation here. Hope it is not all my comuters to be infected with some weirdo.

Posted

For what it's worth, I went to your site and clicked hardware and nothing happened the first time (looked like the page might have refreshed, but that's it). On my second click of "hardware", it went to the category page. I was using Firefox. I went back to the index and couldn't duplicate the problem. Closed the window, and went back, and it did happen on my 2nd visit.

 

The same happens when I go "SEARCH" here, on forum, display some results, and when I click tha PAGE NUMBER 2 or 3 on the bottom of search results, THIS forum always displays ONLY THE FIRST PAGE.

 

I've had the same experience. Essentially, I can't get past page 1 of my search results here. Hmmm

Posted

For what it's worth, your site works fine in FF for me, I've never had a problem with the search on here and as Wendy said, store your sessions in the database. Just change the two configure files to:

 

define('STORE_SESSIONS', 'mysql');

Posted
For what it's worth, your site works fine in FF for me, I've never had a problem with the search on here and as Wendy said, store your sessions in the database. Just change the two configure files to:

 

define('STORE_SESSIONS', 'mysql');

Ok, sessions work with database for me. But I'd like to figure out why sessions do not work wit file based cookies.

I think it is the same problem as during installation, where OSC does not recognise (cannot find) oscommerce.sql file, even if it is in the right place. It finds this file in step 3 of installation only after I modified path to file to be full phisical path on my server.

The came happened in step 7 of installation when install script tried to modify both configure.php files, and could not find them.

 

 

As "choosealogin" said, I found out that there IS a problem in the serarch results page HERE, on this forum, and also "first click" problem on my forum at http://katalog.seznam.org in both, IE and Firefox.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...