Joined: Jun 23, 2005 Posts: 582 Location: United States
Posted: Sat Jul 22, 2006 10:26 am Post subject: [NEED FIX] Google Rank Not Displaying
Advertising module does not display Google rank under the site stats function. Server side issue needs client side resolution. I recommend substitute with Alexa code. How is this accomplished?
Here is the stats function, located in /html/modules/Advertising/index.php
Ok I know why it is happening...
Getting your host to fix the option is not likely.
Anyways. I tested on my local and on a backup server And i got an error on the backup....
I turned on error reporting in the config file... I got this..
# Warning: file() [function.file]: URL file-access is disabled in the server configuration in /usr/home/users/44/whitedevil/www/www.devil-modz.be/modules/Advertising/index.php on line 290
Warning: file(http://www.google.com/search?client=navclient-auto&ch=6-1145864932&features=Rank&q=info:http://devil-modz.be) [function.file]: failed to open stream: no suitable wrapper could be found in /usr/home/users/44/whitedevil/www/www.devil-modz.be/modules/Advertising/index.php on line 290
# This site Google's Page Rank:
This is because of a server spacific option in the php.ini file. Most hosts turn this off to keep from hacking and stuff.
On my local i got the information just fin from google with no problems.
Joined: Jun 23, 2005 Posts: 582 Location: United States
Posted: Thu Nov 02, 2006 11:47 pm Post subject:
I think maybe using the 'Alexa' ranking system instead. Just need to figure out the code 'snippet' for Alexa rank and replace. Any ideas? OR, is it not important enough ya think?
I dont know. I do know that if you want to send me an email with the snippet and ill test it on an envoroment. As long as it doesnt need to call and download from a remote site like the google one does we could use it.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum