• 0
Sign in to follow this  
Dark Lunacy

Vote for points addon problem

Question

Hi

Im trying to install this addon fork from Sanasol: https://github.com/sanasol/FluxCP_Addons-VoteForPoints

I also cant see anything in the menu related to ''Vote For Points'', so when I went to http://mycp.com/?module=voteforpoints , I get this in debug mode:

 

( ! ) Notice: Object of class Flux_Config could not be converted to int in C:\wamp64\www\lib\Flux\Authorization.php on line 86
Call Stack
#	Time	Memory	Function	Location
1	0.0004	408176	{main}( )	...\index.php:0
2	0.0839	724880	Flux_Dispatcher->dispatch( )	...\index.php:169
3	0.0845	725504	Flux_Authorization->actionAllowed( )	...\Dispatcher.php:129

( ! ) Notice: Object of class Flux_Config could not be converted to int in C:\wamp64\www\lib\Flux\Authorization.php on line 86
Call Stack
#	Time	Memory	Function	Location
1	0.0004	408176	{main}( )	...\index.php:0
2	0.0839	724880	Flux_Dispatcher->dispatch( )	...\index.php:169
3	0.0845	725504	Flux_Authorization->actionAllowed( )	...\Dispatcher.php:129

( ! ) Notice: Object of class Flux_Config could not be converted to int in C:\wamp64\www\lib\Flux\Authorization.php on line 87
Call Stack
#	Time	Memory	Function	Location
1	0.0004	408176	{main}( )	...\index.php:0
2	0.0839	724880	Flux_Dispatcher->dispatch( )	...\index.php:169
3	0.0845	725504	Flux_Authorization->actionAllowed( )	...\Dispatcher.php:129

( ! ) Notice: Object of class Flux_Config could not be converted to int in C:\wamp64\www\lib\Flux\Authorization.php on line 87
Call Stack
#	Time	Memory	Function	Location
1	0.0004	408176	{main}( )	...\index.php:0
2	0.0839	724880	Flux_Dispatcher->dispatch( )	...\index.php:169
3	0.0845	725504	Flux_Authorization->actionAllowed( )	...\Dispatcher.php:129
Critical Error
An error was encountered during the lifetime of the application.

This could be due to a variety of problems, such as a bug in the application.

However, normally it is caused by misconfiguration.

Exception Details
Error: Flux_Error

Message: MySQL error (SQLSTATE: 42000, ERROR: 1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

File: C:\wamp64\www\lib\Flux\Connection\Statement.php:59

File	Line	Function/Method
C:\wamp64\www\modules\voteforpoints\index.php	151	Flux_Connection_Statement::execute()
C:\wamp64\www\lib\Flux\Template.php	375	include()
C:\wamp64\www\lib\Flux\Dispatcher.php	170	Flux_Template::render()
C:\wamp64\www\index.php	169	Flux_Dispatcher::dispatch()
Exception Trace As String
#0 C:\wamp64\www\modules\voteforpoints\index.php(151): Flux_Connection_Statement->execute()
#1 C:\wamp64\www\lib\Flux\Template.php(375): include('C:\\wamp64\\www\\m...')
#2 C:\wamp64\www\lib\Flux\Dispatcher.php(170): Flux_Template->render()
#3 C:\wamp64\www\index.php(169): Flux_Dispatcher->dispatch(Array)
#4 {main}

 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this