X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Eliminating "If this page is not updated..." (https://forum.x-cart.com/showthread.php?t=46737)

hyper1 04-02-2009 08:52 PM

Eliminating "If this page is not updated..."
 
I would like to eliminate the distracting message that displays between page transitions. It is a very fast transition on our site, but I worry it could be distracting to the customer. I would take almost any alternative, from it pausing on the page that is to change, to a transition graphic of a ticking clock - anything please.

Thank you so much.

Victor D 04-03-2009 12:25 AM

Re: Eliminating "If this page is not updated..."
 
customer/main/payment_wait.tpl
Enjoy.

hyper1 04-03-2009 04:03 AM

Re: Eliminating "If this page is not updated..."
 
Thank you Victor for your response. The transition I am referring to occurs throughout the site in many areas, not just limited to the checkout process. The actual message that is displayed is

If this page is not updated in 2 seconds, please follow this link: continue >>

It seems to occur when clicking one of the site's buttons (e.g., when the customer clicks the 'add to cart' button on the product detail page) as opposed to a link (such as a link to that shows up in the left nav column).

balinor 04-03-2009 04:05 AM

Re: Eliminating "If this page is not updated..."
 
This usually happens on windows servers when there is a space at the end of a php file.

hyper1 04-03-2009 05:05 AM

Re: Eliminating "If this page is not updated..."
 
Thank you. I confirmed that is the case. I have temporarily hosted a dev site on a windows platform and that is where the transition page occurs. I checked my local host which is running apache and I do not see the same transition page. I plan to go live with one of the recommended x-cart hosts so it should not be an issue for us...thanks again for your help.

Sitrodai 06-16-2012 08:22 PM

Re: Eliminating "If this page is not updated..."
 
I am have the same issue on Ubuntu Linux...
It is occurring across the site for most of the links.
Can someone help me on this?

wjbrewer 06-16-2012 09:02 PM

Re: Eliminating "If this page is not updated..."
 
I have a script you can download here that will search your files for any whitespace: http://www.alteredcart.com/support/knowledgebase/Miscellaneous/find-files-with-extra-line-breaks-or-whitespace/

The instructions on running this are also on the linked page. This should find the file causing this.

Sitrodai 06-22-2012 01:41 AM

Re: Eliminating "If this page is not updated..."
 
Hi
Thanks for the find_whitespace.php;
I was able to identify the .php with white space and remove them;
Even after removing the white spaces, I continue to get the above message often when I navigate through the site.

Any help will be highly appreciated!!!

Sitrodai

X-Cart 4.4.3 (Customized)
Ubuntu 11.04

wjbrewer 06-26-2012 10:00 AM

Re: Eliminating "If this page is not updated..."
 
Unfortunately, if the automated script didn't work the only other option I know of is getting somebody who is familiar with PHP to go through your scripts one by one to find out where the offending data is.

If this is on every page of your site it is probably one of the main X-Cart files, auth.php, session.php, config.php include/func/func.core.php, include/get_language.php. But this is just a guess.

tqualizerman 03-29-2013 10:21 AM

Re: Eliminating "If this page is not updated..."
 
[quote=wjbrewer]I have a script you can download here that will search your files for any whitespace: http://www.alteredcart.com/support/knowledgebase/Miscellaneous/find-files-with-extra-line-breaks-or-whitespace/

The instructions on running this are also on the linked page. This should find the file causing this.[/quote

Bill, you are vital to this platform! Thank you for this script as it just solved a big problem for me.


All times are GMT -8. The time now is 11:03 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.