Advertisement:

Author Topic: Problem adding categories  (Read 4221 times)

Anti

  • Newbie
  • *
  • Posts: 6
Problem adding categories
« 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

Anti

  • Newbie
  • *
  • Posts: 6
Re: Problem adding categories
« Reply #1 on: August 16, 2010, 04:15:30 am »
Seems to work if I disable nice urls

Anti

  • Newbie
  • *
  • Posts: 6
Re: Problem adding categories
« Reply #2 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.

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Problem adding categories
« Reply #3 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?
  • OSClass version
  • Theme of the admin panel you use

Regards,

Anti

  • Newbie
  • *
  • Posts: 6
Re: Problem adding categories
« Reply #4 on: August 16, 2010, 07:07:33 pm »
I'm using the latest osclass and the default theme.

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Problem adding categories
« Reply #5 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.

Anti

  • Newbie
  • *
  • Posts: 6
Re: Problem adding categories
« Reply #6 on: August 16, 2010, 08:13:21 pm »
I get the same result when using the Modern theme

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Problem adding categories
« Reply #7 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.

Anti

  • Newbie
  • *
  • Posts: 6
Re: Problem adding categories
« Reply #8 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.
« Last Edit: August 16, 2010, 11:42:37 pm by Anti »

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Problem adding categories
« Reply #9 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,

snjshr

  • Newbie
  • *
  • Posts: 1
Re: Problem adding categories
« Reply #10 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.

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Problem adding categories
« Reply #11 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,