Forums Sign Up Reply Search Statistics
Star Rating System GraFX Software Solutions - Forum / Star Rating System /

Problems

 
Author Luuk
Guest
#1 Posted: 19 Feb 2005 12:38:06
Reply 
My Config.inc.php looks like this:
// always close your URL with ending slash /
//default URL path like http://www.yourdomain.com/
// where test.php is or your PHP file with rating file
$DEFAULT_URL = "/rating/test.php/";

// default template path where template_test.html and
// template.confirmare.html can be found.
// always close the path with ending slash /
// /home/path/to/your/files/rate/
$TEMPLATE_PATH = "/rating/templates/";

// rate directory, we suggest rate/
// always close the path with ending slash /
// like /home/path/to/your/files/rate/
$RATE_PATH = "rate/";

// rate URL,
// always close your URL with ending slash /
// like http://www.yourdomain.com/rate/
$RATE_URL = "/rating/rate/";

but if I open the test.php, I get these errors:

Warning: main(rate/cls_rate.php): failed to open stream: No such file or directory in /home/vhosts/darklightdusk.bizhat.com/rating/test_html.php on line 12

Warning: main(): Failed opening 'rate/cls_rate.php' for inclusion (include_path='.:/usr/local/apache2/php/lib/php') in /home/vhosts/darklightdusk.bizhat.com/rating/test_html.php on line 12
ERROR: Specified ROOT dir [/rating/templates/] is not a directory

Fatal error: Cannot instantiate non-existent class: rating in /home/vhosts/darklightdusk.bizhat.com/rating/test_html.php on line 105

please help me

mail: luuk1107
hotmail
Author software
Admin
#2 Posted: 19 Feb 2005 15:45:09
Reply 
$DEFAULT_URL = "/rating/test.php/";
$DEFAULT_URL = "http://www.something.com/rating/";

$TEMPLATE_PATH = "/rating/templates/";
$TEMPLATE_PATH = "FULLPATHHEREIFISPOSSIBBLE/rating/templates/";

Same for RATE_URL and RATE_PATH
Author Luuk
Guest
#3 Posted: 19 Feb 2005 21:02:52
Reply 
I changed the stuff to

$DEFAULT_URL = "http://darklightdusk.bizhat.com/rating/";
$TEMPLATE_PATH = "http://darklightdusk.bizhat.com/rating/";
$RATE_PATH = "http://darklightdusk.bizhat.com/rating/";
$RATE_URL = "http://darklightdusk.bizhat.com/rating/";

now, some errors disappeared, but this one is shown:

ERROR: Specified ROOT dir [http://darklightdusk.bizhat.com/rating/] is not a directory

Fatal error: Cannot instantiate non-existent class: rating in /home/vhosts/darklightdusk.bizhat.com/rating/test.php on line 117
Author Luuk
Guest
#4 Posted: 19 Feb 2005 21:06:23
Reply 
I'm not a dummy with php, but the directory is there, the file just doesn't recognize?
Author software
Admin
#5 Posted: 19 Feb 2005 21:57:10
Reply 
BINGO this is the PATH = /home/vhosts/darklightdusk.bizhat.com/rating/
Author Luuk
Guest
#6 Posted: 19 Feb 2005 22:23:23
Reply 
Why does the script then say

Fatal error: Cannot instantiate non-existent class: rating in /home/vhosts/darklightdusk.bizhat.com/rating/test.php on line 117

Which value do I have to change?
Author software
Admin
#7 Posted: 19 Feb 2005 22:36:37
Reply 
cntact us in mail with FTP details. I need to see what you doing there to fix it.
Author Luuk
Guest
#8 Posted: 20 Feb 2005 17:34:58
Reply 
Is that free?
(just a student with absolutely no money)
Author software
Admin
#9 Posted: 20 Feb 2005 17:37:59
Reply 
yes :-)
Author Mayor
Guest
#10 Posted: 9 Feb 2006 02:57:49
Reply 
I installed your free program to see if I can use this on my website.

I get this message when I hit this link: http://writers-pen.com/rateme/test.php

Warning: main(/home/onewebsc/public_html/writers-pen/rateme/log_in/cls_rate.php ): failed to open stream: No such file or directory in /home/onewebsc/public_html/writers-pen/rateme/test.php on line 25

Warning: main(): Failed opening '/home/onewebsc/public_html/writers-pen/rateme/log_in/cls_rate.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/onewebsc/public_html/writers-pen/rateme/test.php on line 25
ERROR: Specified ROOT dir [/home/onewebsc/public_html/writers-pen/rateme/log_in/] is not a directory

Fatal error: Cannot instantiate non-existent class: rating in /home/onewebsc/public_html/writers-pen/rateme/test.php on line 117

I am in desperate need for a rating system that allows my members to rate one anothers writings, but besides this error message, I do not see a rating system visible. I get nothing. How do I call this up? What is that code? I would like to see if this freebe works before investing money into the real McCoy. Please help. My website is here: http://writers-pen.com and it is PHP driven, but how do I intigrate this into my alrady PHP?
Author software
Admin
#11 Posted: 9 Feb 2006 08:54:53
Reply 
I just responded on the other topic.
You need to use correct PATH, like /home/onewebsc/public_html/writers-pen/rateme/ NOT
home/onewebsc/public_html/writers-pen/rateme/
See the differene at /home and home
 
Your Reply

» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.