Just installed Version 2.0.18b2 on our hosted server. (php5.2 - MySql: 5.5).
When trying to install themes and add-ons this error come up:
The addon could not be enabled because it generated a fatal error:
Success
Please help - what to change - what to do ?
Comments
Enable errors thing or anything.. :/
Then look in the source code for the exact same text:
"The addon could not be enabled because it generated a fatal error"
Then show a piece of code of the source code. 5 lines above the text and 5 lines under this text.
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme
http://vanillaforums.org/docs/errors
In V1 developers forum it was a more relaxed atmosphere.
grep is your friend.
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme
You can do what you like, but if your mission is to build communities then prob a good idea act like one.
grep is your friend.
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme
I'm not familiar with looking into codes and (always) under some time pressure to make things work. BUT I would like it work more "solid" when adding plugins and themes ...
For BONK errors follow luc's advice.
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme
anyways here's the piece of code you asked for:
<?php
if ($AddonUrl != '')
echo Wrap(Anchor(T('Get More Plugins'), $AddonUrl), 'li');
?>
</ul>
</div>
<?php echo $this->Form->Errors(); ?>
<div class="Messages Errors TestAddonErrors Hidden">
<ul>
<li><?php echo T('The addon could not be enabled because it generated a fatal error: <pre>%s</pre>'); ?></li>
</ul>
</div>
<table class="AltRows">
<thead>
<tr>
<th><?php echo T('Plugin'); ?></th>
<th><?php echo T('Description'); ?></th>
</tr>
</thead>
<tbody>
<?php
$Alt = FALSE;
The problem is that somewhere else... in the form, some errors occurred. I cannot tell you exactly where in the code to look.
It's because of this code:
<?php echo $this->Form->Errors(); ?>that you get your error message.What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme