Advertisement:

Author Topic: OSClass 2.1  (Read 3101 times)

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
OSClass 2.1
« on: June 15, 2011, 03:15:03 am »
We've just published OSClass 2.1. More info in the blog

gartengrund

  • Newbie
  • *
  • Posts: 3
Re: OSClass 2.1
« Reply #1 on: June 15, 2011, 09:13:59 pm »
If no Categories are registered through the installation process (skip) you get this Error-Message on the new Website:

Warning: Invalid argument supplied for foreach() in /vrmd/homepages/********/***********/oc-includes/osclass/model/Category.php on line 179


Peter

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: OSClass 2.1
« Reply #2 on: June 15, 2011, 09:23:03 pm »
If no Categories are registered through the installation process (skip) you get this Error-Message on the new Website:

Warning: Invalid argument supplied for foreach() in /vrmd/homepages/********/***********/oc-includes/osclass/model/Category.php on line 179


Peter

Ops... we're going to fix asap and releasing in 2.1.1

gartengrund

  • Newbie
  • *
  • Posts: 3
Re: OSClass 2.1
« Reply #3 on: June 16, 2011, 02:17:46 am »
Nice!

gartengrund

  • Newbie
  • *
  • Posts: 3
Creating new Article: Category selection will not work!
« Reply #4 on: June 16, 2011, 10:15:37 pm »
If I create a new article, there is no way to select an category item with the selection menu.

If i look into the HTML Sourcecode i find out that
instead using the <option> Tag you are using the <optgroup> Tag for Category-Items:

Code: [Select]
<select name="catId" id="catId">
<option value="">Select a category</option><optgroup label="MyNewCategory"><optgroup label="MyNewCategory">
....

This Error occurs only if the Checkbox "Selectable parent categories" at the Category-Settings Page is unchecked!


Browser: Firefox 4.0.1
OS: Win XP
« Last Edit: June 16, 2011, 11:59:11 pm by gartengrund »

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: OSClass 2.1
« Reply #5 on: June 17, 2011, 12:44:47 pm »
It's not an error. We use <optgroup> tag because we don't want to make selectable this option: http://www.w3schools.com/tags/tag_optgroup.asp

zerosix06

  • Newbie
  • *
  • Posts: 5
Re: OSClass 2.1
« Reply #6 on: June 20, 2011, 10:07:09 pm »
are I need sitemap generator plugin in osclass 2.1 to generate sitemap.xml?

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: OSClass 2.1
« Reply #7 on: June 21, 2011, 01:45:24 pm »
are I need sitemap generator plugin in osclass 2.1 to generate sitemap.xml?

Yeah, you need the plugin. You can download from here: http://sourceforge.net/projects/osclass/files/Plugins/sitemap-generator/

zerosix06

  • Newbie
  • *
  • Posts: 5
Re: OSClass 2.1
« Reply #8 on: June 21, 2011, 10:21:34 pm »
i have some problem to activate my plugins (breadcrumms and sitemap generator, but in my locashost work correctly).
this is a error mesage

installing breadcrumbs
Quote
There was a fatal error and the plugin was not installed.
Error: "PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613//usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613//usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: cannot open shared object file: No such file or directory" Line: 0
File: Unknown

installing sitemap generator
Quote
There was a fatal error and the plugin was not installed.
Error: "date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Jakarta' for 'WIT/7.0/no DST' instead" Line: 69
File: /home/sidoarj1/public_html/oc-content/plugins/sitemap_generator/index.php

note:is work if i eddit mysql database in oc_t_prefrance in active plugin record

thanks for help

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: OSClass 2.1
« Reply #9 on: June 22, 2011, 01:46:09 pm »
Both errors are because the hosting you're using:
    1. The first error seems to be a PHP5.3 error:
        - https://bugs.launchpad.net/ubuntu/+source/php-sqlite3/+bug/281714
        - http://wordpress.org/support/topic/php-warning-php-startup-unable-to-load-dynamic-library
        - http://forums.cpanel.net/f5/undefined-symbol-sqlite3_libversion-148993.html#post632357
        - http://bugs.php.net/bug.php?id=48614
    2. You should add this code to your config.php file:
Code: [Select]
date_default_timezone_set('Asia/Vientiane');

zerosix06

  • Newbie
  • *
  • Posts: 5
Re: OSClass 2.1
« Reply #10 on: June 22, 2011, 09:16:39 pm »
thanks for yout help, verry helpfull