Dear admin how are you doing ?
I`m back again with something...
I wanna use this script:
https://coursesweb.net/php-mysql/rating- ... jax-php_s2
i changed it to mysql but it is not working also if i do the text option.
145.53.93.209/Rating/2/test.html
Problem with Rating script
-
- Posts: 199
- Location: Holland Rotterdam
Problem with Rating script
Admin
Hello,
You should add the script directly in the root folder of you website.
If you added it into a sub-folder, try edit the path to "ratings.php" in the "ratings.js" file (line 105).
- Delete the beginning "/":
- Or, use absolute path (with "http:", or "https:"):
- Or, add the sub-folder name, with '/' from root:
You should add the script directly in the root folder of you website.
If you added it into a sub-folder, try edit the path to "ratings.php" in the "ratings.js" file (line 105).
- Delete the beginning "/":
Code: Select all
cerere_http.open("POST", 'ratingfiles/ratings.php', true);
Code: Select all
cerere_http.open("POST", 'http://domein/subfolder/ratingfiles/ratings.php', true);
Code: Select all
cerere_http.open("POST", '/subfolder/ratingfiles/ratings.php', true);
JanMolendijk
Thanks for the support Admin it is working 1000%
Similar Topics
-
Problem JS script with php code
PHP - MySQL
First post
I try to add this script to build a energy-low-mode dark-modeLast post
But It only succeed with one item but I would like to have it with all items 6 rows...
I apologize the script is a bit too big, and it's only 1 item I don't get fixed but I'll leave it that way .... Thanks for the feedback -
Problem SSEP search script in site with https
Scripts from this website
First post
I now have the script ( ) crawling how I think I would like it and am trying to use the search. It seems that no matter what I search for it goes to...Last post
Hello,
From what i checked, I noticed that the script did not work in sites with https.
I fixed that problem. You can download again the script, or... -
Using rating script with 7 stars
Scripts from this website
First post
I'm using the script in subject I wrote, from the page:Last post
I'ts only possible to rate 4 stars? What I made wrong?...
Hello,
You use the version for 7 stars (it can be used with 5, 7 or 10 Stars).
I noticed in the page you posted that only the first 6 stars can be... -
Stars Not showing on Rating Script
Scripts from this website
First post
Good Day,Last post
I've been working on this for hours and I'm sure there is something simple I'm missing, regarded to this script:
I've downloaded...
Sorry,
I think that the problem is from php server.
I notied that your server emits warning error if the date_default_timezone_set isn't specified;... -
Ajax-PHP Rating Stars Script with SQLite
Scripts from this website
First post
I use always the script: //coursesweb.net/php-mysql/rating-stars-script-ajax-php_s2 from this great site!Last post
In the last week I migrated all my scripts...
Thanks for the short explanation. I now know the mechanism of sqlite query... and the Ajax call is already in asynchronous mode since the third...