Forums


Marketplace (en)

Forum for Marketplace - Classified Ads for Joomla! 1.5. Posts in english language.
Last post
Forums  » Marketplace (en)  » Error Marketplace Beta 3
jcdk

jcdk
4 posts
---
Location:
n.a.
23.03.2010 12:47

Error Marketplace Beta 3

I try to make categories and from that moment various warnings and error pop-up. I use PHP 5.3 and set display error to 'off'. What did I do wrong?


Notice: Undefined property: stdClass::$parent in C:\wamp\www\joomla\libraries\joomla\html\html\menu.php on line 140

Notice: Undefined property: stdClass::$parent in C:\wamp\www\joomla\libraries\joomla\html\html\menu.php on line 145

Notice: Undefined property: stdClass::$parent in C:\wamp\www\joomla\libraries\joomla\html\html\menu.php on line 140

Notice: Undefined property: stdClass::$parent in C:\wamp\www\joomla\libraries\joomla\html\html\menu.php on line 145

Notice: Undefined property: stdClass::$parent in C:\wamp\www\joomla\libraries\joomla\html\html\menu.php on line 140

Notice: Undefined property: stdClass::$parent in C:\wamp\www\joomla\libraries\joomla\html\html\menu.php on line 145




 
Achim

Achim
1014 posts
---
Location:
Fulda
Germany
Moderator
23.03.2010 12:52

Re: Error Marketplace Beta 3

Hi,

please set your php.ini to not show "notices" with e.g.

error_reporting = E_ALL & ~E_NOTICE


What errors do popup?


Regards

Achim


--
Achim Fischer
Codingfish Limited
www.codingfish.com

 
jcdk

jcdk
4 posts
---
Location:
n.a.
23.03.2010 19:55

Re: Error Marketplace Beta 3

Hi Achim,

I tried, but the warnings remained. I installed the plugin on php 5.2 (instead of 5.3) and the warning went away.




 
Achim

Achim
1014 posts
---
Location:
Fulda
Germany
Moderator
23.03.2010 20:18

Re: Error Marketplace Beta 3


I installed the plugin on php 5.2 (instead of 5.3) and the warning went away.


You mean Marketplace (extension or component)?

Which Joomla versions do you use on both PHP versions?


Regards

Achim


--
Achim Fischer
Codingfish Limited
www.codingfish.com

 
tmjramalho

tmjramalho
7 posts
---
Location:
Portugal
24.03.2010 00:39

Re: Error Marketplace Beta 3

Well I'm getting the same errors, plus these:

When trying to open Categories:
PHP Notice: Undefined variable: option in C:\inetpub\wwwroot\joomla\administrator\components\com_marketplace\models\categories.php on line 34

And when trying to open Users:
PHP Notice: Undefined property: stdClass::$published in C:\inetpub\wwwroot\joomla\libraries\joomla\html\html\grid.php on line 117
PHP Notice: Undefined property: stdClass::$published in C:\inetpub\wwwroot\joomla\libraries\joomla\html\html\grid.php on line 118
PHP Notice: Undefined property: stdClass::$published in C:\inetpub\wwwroot\joomla\libraries\joomla\html\html\grid.php on line 119
PHP Notice: Undefined property: stdClass::$published in C:\inetpub\wwwroot\joomla\libraries\joomla\html\html\grid.php on line 120

I'm running Joomla! v1.5.15 with PHP v5.2.9-2

Any help would be good at this point.




 
Achim

Achim
1014 posts
---
Location:
Fulda
Germany
Moderator
24.03.2010 09:15

Re: Error Marketplace Beta 3

Hi,

I see that both of you are using Windows.
Sometimes it's a bit tricky to find the right php.ini file to edit. Please double check if you are editing the php.ini that is used by PHP.



Another idea:
In the Joomla! backend go to: "Global Configuration" -> "Server"

and set

"Error Reporting" to None

Maybe "Simple" works, too.



Regards

Achim


--
Achim Fischer
Codingfish Limited
www.codingfish.com

 
jcdk

jcdk
4 posts
---
Location:
n.a.
24.03.2010 14:07

Re: Error Marketplace Beta 3

Thanks Achim, I will check it out. I use the same php and Joomla versions as the other user which has this problem.



 
tmjramalho

tmjramalho
7 posts
---
Location:
Portugal
31.03.2010 13:29

Re: Error Marketplace Beta 3

Hi,

Another idea:
In the Joomla! backend go to: "Global Configuration" -> "Server"

and set

"Error Reporting" to None

Maybe "Simple" works, too.

Achim


This worked for me. Thanks!




 
pluk77

pluk77
1 post
---
Location:
n.a.
12.04.2010 09:04

Re: Error Marketplace Beta 3

Switching the notice off works indeed, but does not really solve cause of the problem.

I had the same thing in one of my components after upgrading from php5.2 to 5.3

After looking at the code, I found that my database tables did not have the 'published' column while the code in the template file was assuming it did. Most probably because I took a scaffold component and modified it.

so, if your database table does not have the 'published' column, your template file should not be doing something like this:

$published = JHTML::_('grid.published', $row, $i );

As that is calling the function 'published' that causes the notice because $row->published does not have the 'published' column.

so, if the component table(s) do not have the 'published' column instead of switching off notices you should actually look through the template files of the component and see if there is some left-over code that refers to 'published'. commenting this line out will stop your notice.

Marcel




 
Forums  » Marketplace (en)  » Error Marketplace Beta 3

Codingfish operates

italobikes.com
Community for friends of italian motorcycles

fuldany.de
Das soziale Netzwerk für Fulda (im Aufbau)

kiwinity.co.nz
The New Zealand Community (in preparation)

Login