Jump to content

Help with Sevenscript.net 'Rate Anything' Script - PHP Ajax MySQL


Recommended Posts

I purchased this script this morning for $10.  http://www.sevenscript.net/ajax-star-rating-script-rate-anything/

 

I followed the directions and uploaded a code to a few pages, however it does not work. What shows up is a few numbered bullets; no stars and nothing to click. ( You can see here: http://gingeraleauthority.com/reviews/blenheim3.html )

 

They gave you an HTML 'demo' page to upload. I uploaded this to my webroot and it works: www.gingeraleauthority.com/demo.html

    - (uploaded to a blank page = www.gingeraleauthority.com/Untitled_1.html  )

I use Namecheap for my server and MySQL. I used their MySQL, set up a new SQL database just for the ratings.

 

My website: www.gingeraleauthority.com

 

These are their instructions for upload:

1) Import rateanything.sql into your MySQL database.

2) Edit config.php with your MySQL access credentials: your username, password, and database name.

3) Upload files to the root of your web server. Required files: rateanything.php, rateanything.css, rateanything.js, stars.png, jquery.js.

4) In the header of your page you need to add the following lines of code to include the above files:

 

<link href="starrating.css" rel="stylesheet" type="text/css" />

<script src="jquery.js" type="text/javascript" language="javascript"></script>

<script src="rateanything.js" type="text/javascript" language="javascript"></script>

 

5) Now just add the following line of code anywhere on your page to add a star rating: <div id="rate_01"></div>

To add another to the same page simply add: <div id="rate_02"></div>

6) If you get stuck have a look at the demo.html file in this directory.

 

I followed the directions perfectly. Is there something I am supposed to do with those files that is implied? That I am ignorant to?

I added all the HTML code in the header, was I suppsosed to connect them to the CSS somehow? Other than just linking?

I am experienced in web design but not SQL or scripts.

 

Did I need to do something to the SQL database after importing that file? Did I need to do something to the configure.php file after updating it?

 

I apologize if this is the wrong thread, let me know and I'll move it. If anyone can help in any way, or simply give me a possible problem I might be having. What could possibly be going wrong? Why does the demo page work but not the ones I set up?

Did I need to modify some of the files before uploading them to my public_html webroot (other than what was explicitly stated in the directions)?

THANKS a million!

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.