PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:The spinning circle!!!! (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:The spinning circle!!!!


#4520
Scoopy (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The spinning circle!!!! 2 Years ago Karma: 0  
I'm having spinning circle issues on this website www.torto.co.nz.

cURL support enabled
cURL Information libcurl/7.21.1 OpenSSL/0.9.8b zlib/1.2.3

simplexml enabled

Any help would be much appreciated.
 
  The administrator has disabled public write access.

#4521
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:The spinning circle!!!! 2 Years ago Karma: 27  
Hi,

Please do the following and let me know the error messages (if there's any) you see on the screen:

1) Go to the folder: modules/mod_googleWeather

2) Edit the file: mod_googleWeather_libclass.php

3) Go to line: 21. You should see:
if (preg_match('%<H1>Bad\sRequest<\/H1>%i', $this->html)) {
$data = '<span class="error">Google server did not
respond. Please try again.</span>';
return $data;
}

4) Add the following before the line in (3) above (i.e. line 21):
echo "<p>bp201. html = ".htmlentities($this->html)."</p>";

5) Save and close the file. Then reload the page. You should be able to see some strings appearing on the screen beginning with "bp201. html="

Please copy the entire string here. We will have more clues to figure out what might be the problem.

Regards,
/kksou
 
 
Last Edit: 2011/05/22 18:34 By kksou.
  The administrator has disabled public write access.

#4526
Scoopy (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:The spinning circle!!!! 2 Years ago Karma: 0  
Thanks for your reply

I don't have a mod called that. Do you mean mod_kksouGoogleWeather, and do you mean mod_kksouGoogleWeather_libclass.php as the file to edit?

Kind regards
 
  The administrator has disabled public write access.
#4527
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:The spinning circle!!!! 2 Years ago Karma: 27  
Yes, it's mod_kksouGoogleWeathe and mod_kksouGoogleWeather_libclass.php.

Sorry for the confusion.

Regards,
/kksou
 
  The administrator has disabled public write access.
#4530
Scoopy (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:The spinning circle!!!! 2 Years ago Karma: 0  
I've actioned what you suggested. The code now reads:

Code:
echo "<p>bp201. html = ".htmlentities($this->html)."</p>";
		if (preg_match('%<H1>Bad\sRequest<\/H1>%i', $this->html)) {
			$data = '<span class="error">Google server did not respond. Please try again.</span>';
			return $data;
		}
But it's not showing on the frontend www.torto.co.nz Thanks Scoopy
 
 
Last Edit: 2011/05/24 09:07 By Scoopy.
  The administrator has disabled public write access.
#4537
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:The spinning circle!!!! 2 Years ago Karma: 27  
Hi,

Looks like the line is not being processed at all, i.e. the problem occurs before this.

If you have time, please try the following:

1) Edit the file "mod_kksouGoogleWeather.php". Add to line 25:
echo "lib = $lib<br>";
echo "lib2 = $lib2<br>";

2) Edit the file "mod_kksouGoogleWeather_lib.php". Add to line 43:
echo "bp301. GET<pre>"; print_r($_GET); print "</pre>";

The 2 lines above will give us a lot more clues as to where the problem might be.

Note: the above will echo a lot of info. You might want to comment out these 2 lines after you have obtained the debug info.

Regards,
/kksou
 
  The administrator has disabled public write access.
#4556
hogarfeliz (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:The spinning circle!!!! 2 Years ago Karma: 0  
Hello,

I have the same problem, but also I have other information to provide. I installed the module on a client site and works perfectly. This site is hosted by Hostgator. Then I installed the module on another website of another client, and that's where the problem appears. Obviously this site is hosted on another hosting company. Maybe it has something to do with a missing library or some script.

I hope this problem can be solved soon.
 
  The administrator has disabled public write access.
#4563
JediMasterNerd (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:The spinning circle!!!! 2 Years ago Karma: 0  
 
  The administrator has disabled public write access.
#5259
debjy (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:The spinning circle!!!! 1 Year, 1 Month ago Karma: 0  
Hi,
I am also experiencing this issue....
I have tried adding the codes and get nothing just the below.

lib =
lib 2 =

Have tried accessing the site with and without www.
Thankyou
 
  The administrator has disabled public write access.



Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Links - Classes - Social Business - BPM - Web - General
Copyright © 2006-2013. kksou.com. All Rights Reserved