Zen Cart Logo
Forums / General Questions / who's online problem after moving to VPS

who's online problem after moving to VPS

Views: 1,189

Results 1 to 11 of 11
10 Dec 2013, 4:16 AM
#1
sjbglx avatar

sjbglx

New Zenner

Join Date:
Sep 2010
Posts:
70
Plugin Contributions:
0

who's online problem after moving to VPS

Hello,
I just moved my website to a new server.
everything looks fine except the who's online function ,
No matter what pages customers visit, it only shows :

"/min/?f=/includes/modules/pages/product_info/jscript_textarea_counter.js&1383447798" rather than a correct product URL .

If customer visits EZ pages. then URL shows correctly.
If spider bots visit like yahoo, google or etc.... URLs can also show correctly.

Could anyone have idea about this?

10 Dec 2013, 4:44 AM
#2
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: who's online problem after moving to VPS

Have you tried loading this JS in the head or using CSS/JS Loader, typically who's online always shows the last page loaded

10 Dec 2013, 6:23 AM
#3
sjbglx avatar

sjbglx

New Zenner

Join Date:
Sep 2010
Posts:
70
Plugin Contributions:
0

Re: who's online problem after moving to VPS

I didn't try to loading this kind of stuff in the head. I don't even touch them, just simple uploading to new server.
and the file is in its place .

Also , I just found some of products' URL do show correctly, but some can't,

10 Dec 2013, 6:33 AM
#4
sjbglx avatar

sjbglx

New Zenner

Join Date:
Sep 2010
Posts:
70
Plugin Contributions:
0

Re: who's online problem after moving to VPS

Also I don't understand why it shows differernt URL even I and spider bot visit the same product at the same time.
the spider bot shows correct URL, while mine is just an odd link I mentioned above.

10 Dec 2013, 8:44 AM
#5
sjbglx avatar

sjbglx

New Zenner

Join Date:
Sep 2010
Posts:
70
Plugin Contributions:
0

Re: who's online problem after moving to VPS

some update,
for example if I visit URL like: http://mywebsite.com/category/product--1.html
whos online will show: "/min/?f=/includes/modules/pages/product_info/jscript_textarea_counter.js&1383447798"

If I change the domain name to ip address like this: http://XXX.XX.XXX.xx/category/product--1.html

then the URL in whos online will show correctly.

can anybody tell me why?

10 Dec 2013, 9:24 AM
#6
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: who's online problem after moving to VPS

sjbglx:

some update,
for example if I visit URL like: http://mywebsite.com/category/product--1.html
whos online will show: "/min/?f=/includes/modules/pages/product_info/jscript_textarea_counter.js&1383447798"

If I change the domain name to ip address like this: http://XXX.XX.XXX.xx/category/product--1.html

then the URL in whos online will show correctly.

can anybody tell me why?

  1. What happens if you turn of the css/js minifier
  2. what happens if you turn of you url rewriter
10 Dec 2013, 4:06 PM
#7
sjbglx avatar

sjbglx

New Zenner

Join Date:
Sep 2010
Posts:
70
Plugin Contributions:
0

Re: who's online problem after moving to VPS

Brilliant question Design 75, thank you!

Those two options were all set true before.

if I turn off the url rewriter( in my case it is Ceon URI Mapping (SEO)), problem still there.

but if I turn off the the css/js minifier, this time problem gone!

Can you guess what caused the problem?

10 Dec 2013, 8:08 PM
#8
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: who's online problem after moving to VPS

No,not really,

You could recheck your minifier installation, or maybe it is some strange server setting ?

10 Dec 2013, 11:02 PM
#9
sjbglx avatar

sjbglx

New Zenner

Join Date:
Sep 2010
Posts:
70
Plugin Contributions:
0

Re: who's online problem after moving to VPS

It is very likely something wrong with server settings .
I have root authoritity but really don't where to start to check since there were lots of things in WHM.
but I will go ahead to check. Thank you again!

10 Dec 2013, 11:52 PM
#10
sjbglx avatar

sjbglx

New Zenner

Join Date:
Sep 2010
Posts:
70
Plugin Contributions:
0

Re: who's online problem after moving to VPS

"recheck your minifier installation" finally solved my problem!
The problem was caused some installation folders missing( don't know how) but after I reupload the css/js minifer installation files,
and turn it to ON, everything looks fine now!

thank you!!

11 Dec 2013, 7:46 AM
#11
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: who's online problem after moving to VPS

Glad you found the error. Thank you for rep0rting back