Post by dkdy23 » Thu Dec 31, 2009 6:34 am

Hello everyone! I'm new to OpenCart and I must say I'm very, very impressed! Great job to all of you who contributed to it's current maturity!

I'm hosting with 1and1, and am trying to get my test site up and running with OpenCart 1.3.4. When attempting to access the Admin Console, I'm getting this error:

Notice: unserialize() [function.unserialize]: Error at offset 107 of 6270 bytes in [HOST LOCATION]/system/library/user.php on line 23 -- Warning: Invalid argument supplied for foreach() in [HOST LOCATION]/system/library/user.php on line 23

Tracked it down to this line of code:
foreach (unserialize($user_group_query->row['permission']) as $key => $value) {
$this->permission[$key] = $value;
}

I've checked the database table and have Top Admin id / group data listed in the tables and configured. My normal home page seems to be working just fine (aka can access db info, etc). Also, when debugging this page, I can see that the values of $this->user_id = $user_query->row['user_id']; and $this->username = $user_query->row['username']; are correctly populated after the database call.

I've made sure my .htaccess and php.ini files are included at both the top and admin folder level, and configured to use PHP5 for 1AND1 hosting.

Any ideas on what my issue may be? Anyone seen this before?

Thanks for any help and information you may be able to provide!!! Us newbies... I tell ya. ;)

Cheers, Emery

Newbie

Posts

Joined
Thu Dec 31, 2009 6:24 am

Post by shukry » Thu May 26, 2011 6:39 pm

yes i face same problem , anybody can help us ....

Newbie

Posts

Joined
Thu Feb 10, 2011 9:01 am

Post by xlbtech » Thu May 26, 2011 7:08 pm

Use a newer version first.

I would not recommend using 1.3 - there has been to many improvements.

I think using a newer version of opencart will stop you getting more future problems.

Newbie

Posts

Joined
Thu May 19, 2011 3:44 pm
Location - Midlands, UK
Who is online

Users browsing this forum: No registered users and 51 guests