I get getting the following error when i am opening the index.php file from the library provided by @harrisonhjones .How to solve this problem? I am running the file on WAMP server.
I am new to PHP so kindly bare with me
Hi! Thanks for trying out my dashboard. Let’s see if I can help.
If I upload the repo to my server and open I get Unable to load phpSpark class. If I upload the phpSpark class I get the index page (as expected). So I think the issue is with your server config (though probably with my code but it doesn’t appear with my particular server config).
Let’s try this:
Open up index.php
Locate if($_SESSION['accessToken']) and change it to if(isset($_SESSION['accessToken']))
[Edit] Unfortunately the phpDashboard expects an older version of phpSpark.class.php than what’s currently on the main repo. See https://gist.github.com/harrisonhjones/c9f612457000f3abccb6. We are working on making phpSpark a package so this isn’t so hard for newcomers like yourself.
Hi @harrisonhjones
I uploaded the phpSpark Class in my project directory and also changed if(_SESSION['accessToken']) to
if(isset(_SESSION[‘accessToken’])) in index.php file but i am getting a blank page.
What would be the problem?
Kindly bare with me as am complete beginner in PHP
Thanks
Hi,
The Problem is solved,Problem was with the server.It is not Running on WAMP server but is running perfectly on MAMP server.
Thanks for your support.You have done a Great Work