Osclass forums

Support forums => General help => Topic started by: Anti on August 16, 2010, 04:04:40 am

Title: Problem adding categories
Post by: Anti on August 16, 2010, 04:04:40 am
Hi,

When I try to add a category in the admin interface I'm getting this response.

Code: [Select]
Fatal error: Call to undefined function _() in /home/******/public_html/osclass/oc-admin/categories.php on line 78
Could someone please explain what's wrong.

Best regards
Anti
Title: Re: Problem adding categories
Post by: Anti on August 16, 2010, 04:15:30 am
Seems to work if I disable nice urls
Title: Re: Problem adding categories
Post by: Anti on August 16, 2010, 04:21:30 am
It will not work if you hit categorys whithosut expanding it first. If you instead expand it first an then press "add category" it will work.

The same goes for a couple of other menu entries in the admin interface.
Title: Re: Problem adding categories
Post by: Juan Ramón on August 16, 2010, 03:22:19 pm
Hi,

I tried to follow the steps you told but I can't render the same error.

Could you get us more info?

Regards,
Title: Re: Problem adding categories
Post by: Anti on August 16, 2010, 07:07:33 pm
I'm using the latest osclass and the default theme.
Title: Re: Problem adding categories
Post by: Juan Ramón on August 16, 2010, 07:55:05 pm
I can't reproduce it... Can you try if this error occurs in "Modern" theme? Default theme will no longer developed.

Thanks and I wait for the feedback.
Title: Re: Problem adding categories
Post by: Anti on August 16, 2010, 08:13:21 pm
I get the same result when using the Modern theme
Title: Re: Problem adding categories
Post by: Juan Ramón on August 16, 2010, 09:33:32 pm
Sorry, my mistake, I was looking for in the subversion files, not in the 1.0delta files.

If you do a checkout from http://code.google.com/p/osclass and use this files, it works fine.

Sorry for the misunderstanding.
Title: Re: Problem adding categories
Post by: Anti on August 16, 2010, 11:40:16 pm
It does not work here. The error is instead.

Code: [Select]
Fatal error: Call to undefined function _() in /home/chalmer1/public_html/osclass/oc-admin/categories.php on line 144
This is when i try to manage categories.
Title: Re: Problem adding categories
Post by: Juan Ramón on August 17, 2010, 02:28:34 am
I can't reproduce the same error... it's very strange.

Try to replace _('Categories') to 'Categories'. But it is not a real solution because this way can't be translated this title.

Regards,
Title: Re: Problem adding categories
Post by: snjshr on August 21, 2010, 05:04:21 am
This really frustrating this is really good script but not working at all.
getting fatal on creating category.
Title: Re: Problem adding categories
Post by: Juan Ramón on August 21, 2010, 02:17:33 pm
Hi snjshr!

You're having problems with that too? You're using the subversion code? Give us all the details you can so we'll help you.

Regards,