MediaSVI
Active member
Why are you putting Article widgets on your portal page? It already has articles built into it.
I am new to this software sorry. Where should I put them?
Why are you putting Article widgets on your portal page? It already has articles built into it.
You don't need to put article widgets on the portal page. It already has articles built into it.
There are videos.
The article widget is for putting it as a widget on other pages.
public function actionSave(ParameterBag $params)
{
$this->assertPostOnly();
if ($params->category_id)
{
$category = $this->assertCategoryExists($params->category_id);
}
else
{
$category = $this->em()->create('EWR\Porta:Category');
}
$categoryOptions = $category->getRelationOrDefault('PortaCategoryOptions');
$input = $this->filter('category', 'array');
$inputOptions = $this->filter('categoryOptions', 'array');
$form = $this->formAction();
$form->basicEntitySave($category, $input);
$form->basicEntitySave($categoryOptions, $inputOptions);
$form->run();
return $this->redirect($this->buildLink('ewr-porta/categories'));
}
$form = parent::actionSave($params);
..I upgraded from XenForo 1.5 to XenForo 2.1 tonight. I'm not sure if I am able to upgrade my 1.5 XenPorta to 2.1 XenPorta, where I had many custom widgets? Anyway, I installed XenPorta 2 and now my Portal is not rendering whatsoever. https://www.unigamia.com/ewr-porta/
Does anyone have any idea how to fix this issue?
import xenpota 1.x to 2.x now.
XF\Db\Exception: MySQL statement prepare error [1146]: Table 'website_xenforo.EWRporta2_articles' doesn't exist in src/XF/Db/AbstractStatement.php at line 228
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 40
XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94
XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 150
XF\Db\AbstractAdapter->fetchOne() in src/addons/EWR/Porta/Import/Importer/Porta100.php at line 124
EWR\Porta\Import\Importer\Porta100->getStepEndArticles() in src/XF/Import/Runner.php at line 197
XF\Import\Runner->setupRunnableStep() in src/XF/Import/Runner.php at line 81
XF\Import\Runner->initializeRun() in src/XF/Import/Runner.php at line 52
XF\Import\Runner->run() in src/XF/Admin/Controller/Import.php at line 234
XF\Admin\Controller\Import->actionRun() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 262
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184
XF\App->run() in src/XF.php at line 391
XF::runApp() in admin.php at line 13
I tried to do that and I got an error. Could you please tell me how? I'll edit the error I got into this message:
- Tools > Import Data
- Import target: [8WR] XenPorta 2.x.x
[8WR] XenPorta 1.0.0- Exception:
PHP:XF\Db\Exception: MySQL statement prepare error [1146]: Table 'website_xenforo.EWRporta2_articles' doesn't exist in src/XF/Db/AbstractStatement.php at line 228 XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196 XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 40 XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54 XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94 XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 150 XF\Db\AbstractAdapter->fetchOne() in src/addons/EWR/Porta/Import/Importer/Porta100.php at line 124 EWR\Porta\Import\Importer\Porta100->getStepEndArticles() in src/XF/Import/Runner.php at line 197 XF\Import\Runner->setupRunnableStep() in src/XF/Import/Runner.php at line 81 XF\Import\Runner->initializeRun() in src/XF/Import/Runner.php at line 52 XF\Import\Runner->run() in src/XF/Admin/Controller/Import.php at line 234 XF\Admin\Controller\Import->actionRun() in src/XF/Mvc/Dispatcher.php at line 350 XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 262 XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113 XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55 XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184 XF\App->run() in src/XF.php at line 391 XF::runApp() in admin.php at line 13
How do I get my announcements to display on my homepage?
Did you uninstall the XF1 version first? If you did, then your databases are lost and can not be imported.
We use essential cookies to make this site work, and optional cookies to enhance your experience.