Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with Google and spider any one ?


thejokers

Recommended Posts

Posted

i use the google toolbar to check if my page is in google index and i get that error like this ...

 

 

Fatal error: Failed opening required 'includes/languages/.php' (include_path='') in /home/sites/site49/web/catalog/includes/application_top.php on line 273

 

 

i use ms1creload5 i have a index.htm where there is a javascript redirection towards catalog/default.php

 

 

thanks in advance :huh:

Posted

1) you'll probably not get a lot of support for custom distributions like "reloaded" in the main osC forums

2) if my memory serves me well, the googlebot doesn't like javascript redirects (or redirects at all) very well.

 

-jared

Posted

we have the same problem,

so basically all our google listing & searching is screwed.

the site works fine with a standard browser.

 

however the google spider does not have a language

i can find no way (after 10 hours so far) of forcing a language...

 

it's in here somewhere :

 

 

* application_top.php

 

if (($osC_Session->exists('language') == false) || isset($_GET['language'])) {

include(DIR_WS_CLASSES . 'language.php');

$lng = new language;

 

if (isset($_GET['language']) && tep_not_null($_GET['language'])) {

$lng->set_language($_GET['language']);

} else {

$lng->get_browser_language();

}

 

$osC_Session->set('language', $lng->language['directory']);

$osC_Session->set('languages_id', $lng->language['id']);

 

 

 

* language.php

 

function set_language($language) {

if ( (tep_not_null($language)) && (isset($this->catalog_languages[$language])) ) {

$this->language = $this->catalog_languages[$language];

}

else {

$this->language = $this->catalog_languages[DEFAULT_LANGUAGE];

}

}

 

 

function get_browser_language() {

 

$this->browser_languages = explode(',', getenv('HTTP_ACCEPT_LANGUAGE'));

for ($i=0, $n=sizeof($this->browser_languages); $i<$n; $i++) {

reset($this->languages);

while (list($key, $value) = each($this->languages)) {

if (eregi('^(' . $value . ')(;q=[0-9]\\.[0-9])?$', $this->browser_languages[$i]) && isset($this->catalog_languages[$key])) {

$this->language = $this->catalog_languages[$key];

break 2;

}

}

}

}

 

 

help !

[email protected]

site programmer (development stage)

Posted

Try this site for a bit more support

 

www.phesis.co.uk

Lifes a bitch, then you marry one, then you die!

Posted

me i change this i and i wait tht google come back to see if its work :unsure:

 

ligne 273 application_top.php

 

 

require(DIR_WS_LANGUAGES. 'french.php'); instead of

 

 

// require(DIR_WS_LANGUAGES . $language . '.php');

 

i told him to take french always instead of nothing because it doesnt know what language so i wait and see :D

Posted

I have MS2 installed, w/o any spider killer, sid killer, nada. My google listings are fine.

 

-jared

Posted

I did the same thing Fred is suggesting. Since my site is only in one language I manually added that language name to all pages which Google choked on. It is in more than the index page, so be sure to check all pages (I believe there were about 4 pages I changed, give or take 2).

 

Google has reindexed my main page fine, I verify this by checking the cached version of the page Google has. It has been updated. I am not seeing google make it to my other pages. Not sure if there is something else causing a problem or if I just need to wait longer. I guess time will tell...

 

Jared: Are you having any problems with Google indexing and including SIDs? Before I turned the SIDs off for robots I was indexed fine, but in the pursuit of perfection I caused more problems.

 

-Mark

Posted

not that I can see so far. try searching for:

making memories charmed plaques

or

making memories charmed frames

 

and you can see that google lists no SIDs on my site, www.croppinparadise.com .

 

-jared

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...