Hello, when I install and click the Finish button I get this message:
Warning: Invalid argument supplied for foreach() in C:xampphtdocssocialossnclassesOssnSite.php on line 36
Notice: Undefined variable: result in C:xampphtdocssocialossnclassesOssnSite.php on line 39
Those lines contain this (starting at line 28):
/**
* Get all site settings
*
* @return object
*/
public function getAllSettings() {
$params['from'] = 'ossn_site_settings';
$this->settings = $this->select($params, true);
foreach ($this->settings as $setting) {
$result[$setting->name] = $setting->value;
}
return arrayObject($result, get_class($this));
}
I would appreciate any help provided. Thanks.
Hello i also can't install OSSN on xamp
my xampp version is 3.2.4
https://i.imgur.com/nmaIgAG.png
https://i.imgur.com/KigVJiT.png
i created db user ossn but still can't install it
Yeah,
as already expected: no table-row, no data. And that means: no Ossn. :(
Looks like a compatibility issue between MariaDB and MySQL. Thus, if your intention was just getting a quick first idea of Ossn, refer to the REALLY tested prerequisites at https://www.opensource-socialnetwork.org/wiki/view/706/how-to-install-open-source-social-network and get yourself a different Xamp which complies with the listed items.
At least I have no time digging deeper into what's going wrong. Sorry.
I am using PHP version 7.0.3 and 10.1.10-MariaDB.
And for the table, I don't think it worked:
However, other tables, like ossn_users are populated correctly.
1.) There are thousends of different xamps:
Please provide the versions of
PHP and MySQL
2.) If $this->settings
is really unset, accessing the db table ossn_site_settings
seems to have failed. So please before clicking "Finish", open another browser window with PHPMyAdmin and check whether this table has been created at all and comes with reasonable values.
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)