MyBB-Plugins Forums
Installation problem - Printable Version

+- MyBB-Plugins Forums (http://forums.mybb-plugins.com)
+-- Forum: Archived Forums (http://forums.mybb-plugins.com/Forum-Archived-Forums)
+--- Forum: MyBB 1.6.x (http://forums.mybb-plugins.com/Forum-MyBB-1-6-x)
+---- Forum: NewPoints (http://forums.mybb-plugins.com/Forum-NewPoints)
+---- Thread: Installation problem (/Thread-Installation-problem)



Installation problem - fanoob - 05-04-2014

Hi.

So I created a test forum to check all my plugins which I am going to use on my real forum. I uploaded newpoints upload file in the inc/plugins directory and after uploading it, I didn't see any plugin to activate in my admincp. So just to try and fix the prob, I moved my inc/plugins/upload's file: newpoints.php to inc/plugins directory and now I'm getting this:

[Image: 11rzy9j.jpg]

What can I do to fix this problem? :/


RE: Installation problem - Diogo Parrinha - 05-04-2014

There are two newpoints.php files:
/inc/plugins/newpoints.php
/newpoints.php

You have uploaded them to the wrong directory (i.e. you misuploaded both, so they are in the inverse directories).


RE: Installation problem - fanoob - 05-04-2014

Then what Is the correct directory?


RE: Installation problem - Diogo Parrinha - 05-04-2014

Upload/newpoints.php goes to /newpoints.php and Upload/inc/plugins/newpoints.php goes to /inc/plugins/newpoints.php


RE: Installation problem - fanoob - 05-05-2014

I fixed the problem by moving the upload/inc/plugins/newpoints folder to root directory/inc/plugins folder. When I clicked Install and activate, It worked fine but It did not show the NewPoints category on top of the admincp page beside tools category.

What can I do :S

Can you just please tell me where all the files should be? The complete list? So that I install everything again according to your list. Please, I'm a newbie.


RE: Installation problem - Diogo Parrinha - 05-05-2014

Make sure you uploaded the contents of the /admin folder to your admin directory (which may not be /admin) and make sure your admin has permissions to manage NewPoints (ACP -> Users & Groups -> Admin Permissions -> select user).


RE: Installation problem - fanoob - 05-05-2014

Okay, everything Is working fine now, but when I installed the shop 1.7, this happened:

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1067 - Invalid default value for 'items_rate'
Query:
ALTER TABLE `mybb_newpoints_grouprules` ADD `items_rate` DECIMAL(3,3) NOT NULL default '1';

And when I click on the shop 1.7 menu bar it shows:-

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1146 - Table 'b14_14762207_forum.mybb_newpoints_shop_categories' doesn't exist
Query:
SELECT * FROM mybb_newpoints_shop_categories ORDER BY disporder ASC

b14_14762207_forum Is my DB name.


RE: Installation problem - Diogo Parrinha - 05-05-2014

In the code find "default '1'" and remove it.


RE: Installation problem - fanoob - 05-05-2014

Thanks!! Finally everything Is working! But how can I add Items in my shop category? There Is no option. Smile


RE: Installation problem - Diogo Parrinha - 05-09-2014

ACP -> NewPoints -> Shop -> select a category and add items