| Author |
Message |
frankieDoodle
Nuke Cadet


Joined: Sep 02, 2003
Posts: 6
Location: Montreal
|
Posted:
Tue Sep 02, 2003 9:53 am |
  |
I have installed Google Tap on phpnuke and the links showed are :
http://www.technoparc.net/fr/viewlink-6.html
and one finds this phpnuke error right after the link in Weblinks->
Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/technopa/public_html/fr/modules/Web_Links/index.php on line 743
If I repair the error by replacing the "LC_TIME" with LC_TIME in all occurences in the index.php, then I don't get this warning message any more, but the "html" google tap weblinks start to be defective and they show :
http://www.technoparc.net/fr/links.html&l_op=viewlink&cid=#
instead of
http://www.technoparc.net/fr/viewlink-#.html
Did anyone ever encountered this behaviour and/or know how to fix this condition? Or maybe somebody has got an idea as to what effect has the LC_TIME on Google Tap? Any idea or hint or suggestion would be helpful.
Thanks in advance |
|
|
    |
 |
kjcdude
Captain


Joined: Jun 10, 2003
Posts: 441
Location: Southern California
|
Posted:
Tue Sep 02, 2003 3:40 pm |
  |
|
       |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Tue Sep 02, 2003 4:32 pm |
  |
Hi you'll have to download GT 0.6.5 from the downloads section. It has the pre nuke 6.5 version. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
Imago
Captain


Joined: Jan 17, 2003
Posts: 629
Location: Europe
|
Posted:
Wed Sep 03, 2003 2:13 am |
  |
The error has nothing to do with GT or Googlifier. You have to open the index.php and change everywhere
| Code: |
| setlocale ("LC_TIME", "$locale") |
to
| Code: |
| setlocale (LC_TIME, $locale) |
|
|
|
    |
 |
frankieDoodle
Nuke Cadet


Joined: Sep 02, 2003
Posts: 6
Location: Montreal
|
Posted:
Wed Sep 03, 2003 6:12 am |
  |
Yes I've seen it :
| Imago wrote: |
The error has nothing to do with GT or Googlifier. You have to open the index.php and change everywhere
| Code: |
| setlocale ("LC_TIME", "$locale") |
to
| Code: |
| setlocale (LC_TIME, $locale) |
|
but the problem is that if I fix it the way you say, then the Google Tap Web links no longer work ... That's why I was asking of somdebody knows about the role LC_TIME in Google Tap ...
Thanks |
|
|
    |
 |
Imago
Captain


Joined: Jan 17, 2003
Posts: 629
Location: Europe
|
Posted:
Wed Sep 03, 2003 6:29 am |
  |
|
    |
 |
frankieDoodle
Nuke Cadet


Joined: Sep 02, 2003
Posts: 6
Location: Montreal
|
Posted:
Thu Sep 04, 2003 4:04 am |
  |
With all due respects, my web links are not a total mess since I have reinstalled phpnuke several time and reentered 4 weblinks and redone the same test over and over again. Always the same result :
- if I dont change the index.php to have the warning message disappear (i.e. if I leave the original phpnuke code as is without making corrections), web links are perfectly properly handled in the Google Tap Style ( ... html urls).
- the moment I make the swap from "LC_TIME" to LC_TIME in the index.php code, I get Google Tap problems.
Unless you meant something else (I noticed some words were probably missing in your phrase).
Thanks |
|
|
    |
 |
frankieDoodle
Nuke Cadet


Joined: Sep 02, 2003
Posts: 6
Location: Montreal
|
Posted:
Thu Sep 04, 2003 4:06 am |
  |
By the way, what do you mean by "in phpnuke 6.0 you don't have to shorten the weblinks"? |
|
|
    |
 |
Imago
Captain


Joined: Jan 17, 2003
Posts: 629
Location: Europe
|
Posted:
Thu Sep 04, 2003 6:53 am |
  |
What I meant was that you don't have to shorten
"xxx.com/module.php?name=Web_Links" to "links.html"
Remove the rewrite rule, and the two header.php instances and everything will bo all right. All the mess now is because of the links.html
I have no links.html
www.orientalgate.org/gate.html?name=Web_Links |
|
|
    |
 |
frankieDoodle
Nuke Cadet


Joined: Sep 02, 2003
Posts: 6
Location: Montreal
|
Posted:
Tue Sep 09, 2003 12:12 pm |
  |
I made a correction that seems to work:
-> First, in the .htacces file :
I replaced
RewriteRule ^links.html bla bla
with
RewriteRule ^weblinks.html bla bla
-> Second, in the header.php file:
I replaced the last entry in the $urlout=array part of the code :
links.html
with
weblinks.html
it looks as though it's working.
Thanks |
|
|
    |
 |
frankieDoodle
Nuke Cadet


Joined: Sep 02, 2003
Posts: 6
Location: Montreal
|
Posted:
Fri Sep 19, 2003 4:09 am |
  |
Then I have a question.
Regarding not using links.html, what would be the consequence of not rewriting modules.php?name=Web_links to links.html since you need an entry point for the bot to visit each link in the web links section. In other words, if one doesn't allow a *.html entry point, how will the bot be able to request the links since he would have only a query to do so? Presumably, Google doesn't like queries. Allso, I have been told that SE work their way through by "inspecting" (could call that parsing I guess) searched pages for *.html links and climbing through pages until a stop point.
So, is it reasonnable to worry about not being indexed because of this?
Thanks |
|
|
    |
 |
|
|