Advertisement:

Author Topic: Two errors [Installation and DashBoard]  (Read 2475 times)

OmarAllam

  • Newbie
  • *
  • Posts: 47
Two errors [Installation and DashBoard]
« on: April 13, 2012, 03:13:26 pm »
Hi all,
While i install osclass get "Error: <br/>[object Object]" so i click and i continue, could this error get other errors,how i remove it?

Many times when i login dashboard i see:

Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '<' not found in /membri/niluxads/oc-includes/osclass/feeds.php on line 37

Warning: simplexml_load_string() [function.simplexml-load-string]: Destination host forbidden in /membri/niluxads/oc-includes/osclass/feeds.php on line 37

Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /membri/niluxads/oc-includes/osclass/feeds.php on line 37

Warning: Invalid argument supplied for foreach() in /membri/niluxads/oc-includes/osclass/feeds.php on line 38

So how i can remove these other errors?

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Two errors [Installation and DashBoard]
« Reply #1 on: April 13, 2012, 05:29:50 pm »
Upgrade to version 2.3.7 please.

OmarAllam

  • Newbie
  • *
  • Posts: 47
Re: Two errors [Installation and DashBoard]
« Reply #2 on: April 13, 2012, 05:34:48 pm »
Ehm.. i have already upgraded

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Two errors [Installation and DashBoard]
« Reply #3 on: April 13, 2012, 05:38:28 pm »
If this is your website (http://www.annunciorapido.altervista.org/) you haven't upgraded your OSClass version.

OmarAllam

  • Newbie
  • *
  • Posts: 47
Re: Two errors [Installation and DashBoard]
« Reply #4 on: April 13, 2012, 05:55:59 pm »
No, my website is www.niluxads.altervista.org

OmarAllam

  • Newbie
  • *
  • Posts: 47
Re: Two errors [Installation and DashBoard]
« Reply #5 on: April 19, 2012, 04:51:47 pm »
I have solved it, in fact i have removed the lines 37-38 of feeds.php

$xml = simplexml_load_string($content);
            foreach ($xml->channel->item as $item)

What do you think? (people)

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: Two errors [Installation and DashBoard]
« Reply #6 on: April 19, 2012, 06:50:31 pm »
Hi OmarAllam,

This error was due to the fact that the osclass blog url changed. You can either edit the feeds.php file or upgrade to 2.3.7

In the feeds.php file you need to change line 35 like so

$content 
osc_file_get_contents('http://osclass.org/blog/feed/');


Jay

OmarAllam

  • Newbie
  • *
  • Posts: 47
Re: Two errors [Installation and DashBoard]
« Reply #7 on: April 20, 2012, 03:40:39 pm »
I know that all what you replaced but even i change             

$content = osc_file_get_contents('http://osclass.org/feed/');   to

  $content = osc_file_get_contents('http://osclass.org/blog/feed/');

The errors remain, instead if i remove

$xml = simplexml_load_string($content);
            foreach ($xml->channel->item as $item)

it works, but i don't know if i remove these lines the other thing continue to function..

I have upgraded he version from 2.3.6 to 2.3.7 but error remain
« Last Edit: April 20, 2012, 03:42:52 pm by OmarAllam »

Travelfrog

  • Jr. Member
  • **
  • Posts: 80
Re: Two errors [Installation and DashBoard]
« Reply #8 on: December 18, 2012, 07:36:49 pm »
Well, it's now dec 2012 and I still have the same problem in 3.0.2.

What is the fix?