Re:Undefined variable and property errors (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: Re:Undefined variable and property errors
|
taite11 (User)
Fresh Boarder
Posts: 7
|
|
Undefined variable and property errors 4 Months, 1 Week ago
|
Karma: 0
|
|
Here's the errors I get in the module position where the search box should show up...
Notice: Undefined variable: val in ...../public_html/components/com_googlesearch/googlesearch.lib.php on line 128
Notice: Undefined property: stdClass::$mod_searchfield_padding_left in .../public_html/components/com_googlesearch/googlesearch.lib.php on line 312
Notice: Undefined property: stdClass::$mod_searchfield_padding_right in .../public_html/components/com_googlesearch/googlesearch.lib.php on line 312
Notice: Undefined property: stdClass::$mod_searchfield_padding_top in .../public_html/components/com_googlesearch/googlesearch.lib.php on line 312
Notice: Undefined property: stdClass::$mod_searchfield_padding_bottom in .../public_html/components/com_googlesearch/googlesearch.lib.php on line 312
Notice: Undefined index: q in .../public_html/components/com_googlesearch/googlesearch.lib.php on line 291
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
kksou (Admin)
Admin
Posts: 451
|
|
Re:Undefined variable and property errors 4 Months, 1 Week ago
|
Karma: 9
|
I think you forgot to install the googlesearch component.
As mentioned in the documentation page,
"the googleSearch module does not work without the googleSearch component."
So, install the googleSearch component first, then the googleSearch module.
Regards,
/kksou
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
taite11 (User)
Fresh Boarder
Posts: 7
|
|
Re:Undefined variable and property errors 4 Months, 1 Week ago
|
Karma: 0
|
|
The component is already installed.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
kksou (Admin)
Admin
Posts: 451
|
|
Re:Undefined variable and property errors 4 Months, 1 Week ago
|
Karma: 9
|
|
1. Have you tried just the googleSearch component (without the googleSearch module). Does it work?
2. Have you tried this on a fresh install of Joomla? This will allow you to see if googleSearch works at all on your machine.
Regards,
/kksou
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
kksou (Admin)
Admin
Posts: 451
|
|
Re:Undefined variable and property errors 4 Months, 1 Week ago
|
Karma: 9
|
|
Another possibility: you have used an older version of googleSearch component with a newer version of googleSearch module.
Note that the two versions must match.
I would suggest that you
- uninstall both the component and the module,
- download a fresh copy of googleSearch component and module
- reinstall the latest copy of googleSearch component and module
Regards,
/kksou
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
taite11 (User)
Fresh Boarder
Posts: 7
|
|
Re:Undefined variable and property errors 4 Months, 1 Week ago
|
Karma: 0
|
|
OK. I just tried uninstalling and reinstalling them. The errors are the same.
Linking the the search component itself also brings up a page with the same errors.
If I search with the box first a page with these errors flashes by:
"Notice: Trying to get property of non-object in /...public_html/administrator/components/com_sh404sef/sh404sef.class.php on line 2179
Warning: Invalid argument supplied for foreach() in /.../public_html/administrator/components/com_sh404sef/sh404sef.class.php on line 2182"
Then the next page has all the previous errors I listed and a red bar that says "JFolder::folder: Path is not a folder: /language"
Perhaps I should see what happens on a fresh Joomla install.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
taite11 (User)
Fresh Boarder
Posts: 7
|
|
Re:Undefined variable and property errors 4 Months, 1 Week ago
|
Karma: 0
|
|
I did a fresh Joomla install (1.5.6).
The errors are still there.
However, search results will show up below the errors for this install.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
taite11 (User)
Fresh Boarder
Posts: 7
|
|
Re:Undefined variable and property errors 4 Months, 1 Week ago
|
Karma: 0
|
|
The above SEF errors can be avoided by having sh404sef not make sef URLs for this component...
However the other errors are still there.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
kksou (Admin)
Admin
Posts: 451
|
|
Re:Undefined variable and property errors 4 Months, 1 Week ago
|
Karma: 9
|
|
Yes, if you're using sh404sef, you need to "skip" the googleSearch component.
However, I'm not sure about your other errors because I cannot repliate the error. I need to be able to replicate the error in order to solve it.
Was wondering if any others have encountered similar problem?
Regards,
/kksou
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
taite11 (User)
Fresh Boarder
Posts: 7
|
|
Re:Undefined variable and property errors 4 Months, 1 Week ago
|
Karma: 0
|
|
Actually... even if I set sh404sef to "skip" the GoogleSearch component and purge the sef URLs, those errors still come up...
Here's a recap: So I still have the 3 sets of errors:
- the ones I listed in the first post,
- the sef errors
- the bright red bar at the top that says "JFolder::folder: Path is not a folder: /language"
The fresh install of Joomla 1.5.6 I did only has the first set of errors. GoogleSearch (component and module) is the only extension I have added to that install.
Error reporting is set to maximum.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|