|
|
 |
 | I do not see an answer for my problem. Requesting help now. |  |
Posted: Sun Oct 26, 2003 5:43 pm |
|
|
|
I have installed 2.0 on my target site.
I have the proper database name, user name, and password in the
db_connect.php file
I have added the following as the FIRST line in the stdlib.php file
function html_entity_decode ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); }
this line is followed by a space, then the text from Daniel's script
I have edited the site URL and the root information in the config.php file
I have run the install.php script, and got the following message:
Admin table created succesfully
Administration table populated succesfully
Random referrals table created succesfully
Users table created succesfully
Refferals table created succesfully
Weight table created succesfully
Weight Temporary table created succesfully
The Randomizer 2.0 auto installer
Banners table created succesfully
Banners table populated succesfully
Textads table created succesfully
Textads table populated succesfully
If you can see this message,everything went OK.Your database is created now.
but
when I am ready to go to the admin/index.php page, get the following error:
Fatal error: Failed opening required '/home/httpd/vhosts/MYURL.com/httpdocs/admin/index.php/lib/stdlib.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/MYURL.com/httpdocs/config.php on line 140
[I edited the results above so that MYURL substitutes for the actual domain.]
I would REALLY like to get some value from this script which cost $200 with resell rights. Can someone help me get this error fixed so that I can use the script?
Also, as I installed the 2.0, can someone tell me if the security issues have been fixed?
Is Daniel still around? |
|
|
|
|
 | |  |
Posted: Sun Oct 26, 2003 5:51 pm |
|
|
|
check you config.php
you have probably edited these lines and they must be like this
//Edit below ONLY if you changed the current site structure
$CONFIG->templatedir = "$CONFIG->wwwroot/templates";
$CONFIG->libdir = "$CONFIG->wwwroot/lib";
$CONFIG->imagedir = "$CONFIG->wwwroot/images"; |
|
|
|
|
 | not it. thanks for the assist |  |
Posted: Sun Oct 26, 2003 6:14 pm |
|
|
|
| while I did edit them at one time, I replaced the wwwroot as you have it in your response. I am aftraid that is not it. |
|
|
|
|
Posted: Sun Oct 26, 2003 9:29 pm |
|
|
| shadow |
| Addict |
|
 |
| Joined: 16 Oct 2003 |
| Posts: 171 |
| Location: Virgin Islands |
|
|
 |
 |
 |
|
I have seen this happen once before and when I installed the main directory in a subdirectory ie. yoursite.com/random it seemed to solve the problem but make sure that you change the wwwroot in the config.php to the subdirectory. It should endup looking something like this.
$CONFIG->wwwroot = "/home/httpd/vhosts/MYURL.com/httpdocs/random";
//Site URL -please use the "http://www.mysite.com" format.
$CONFIG->siteurl = "http://www.yoursite.com/random";
//Edit below ONLY if you changed the current site structure
$CONFIG->templatedir = "$CONFIG->wwwroot/templates";
$CONFIG->libdir = "$CONFIG->wwwroot/lib";
$CONFIG->imagedir = "$CONFIG->wwwroot/images";
Shadow. |
|
|
|
|
Posted: Sun Oct 26, 2003 9:36 pm |
|
|
| shadow |
| Addict |
|
 |
| Joined: 16 Oct 2003 |
| Posts: 171 |
| Location: Virgin Islands |
|
|
 |
 |
 |
|
|
|
|
|
 | install in another directory |  |
Posted: Sun Oct 26, 2003 10:49 pm |
|
|
|
| I am not sure I understand. Do I copy the files into the new directory, random, for example? Do I get that right. Can you explain a little more how to do that? |
|
|
|
|
Posted: Sun Oct 26, 2003 11:10 pm |
|
|
|
I had the exact same problems and it was because i had edited the wwwroot/ dir files, and i also had misspelled a letter in the config.php file. but i was getting that error msg so you may want to look over your config again, just my 2cents  |
|
|
|
|
Posted: Sun Oct 26, 2003 11:19 pm |
|
|
| shadow |
| Addict |
|
 |
| Joined: 16 Oct 2003 |
| Posts: 171 |
| Location: Virgin Islands |
|
|
 |
 |
 |
|
It is really hard to help without being able to see what you have set up. So if I were you I would make sure that your path to wwwroot is correct and the URl to wwwroot is correct in the config.php file for example if you wrote your path with a / at the end that can cause a problem. If you lost a " or . it can cause a problem. I hope you didn't edit your only copy of the script. If you did go to the client area and download the original and see if you changed the syntax in some way. Other then that without seeing it there is no easy way to give you an answer.
Shadow |
|
|
|
|
 | |  |
Posted: Sun Oct 26, 2003 11:33 pm |
|
|
| shadow |
| Addict |
|
 |
| Joined: 16 Oct 2003 |
| Posts: 171 |
| Location: Virgin Islands |
|
|
 |
 |
 |
|
Now that I looked more closely it appears that you have index.php in your
$CONFIG->wwwroot = "/home/yourid/public_html/rand";
That can't be it must be end in a directory. If everything else you have is correct it should look like this
$CONFIG->wwwroot ="/home/httpd/vhosts/domain.com/httpdocs";
Than is if you don't have it is a sub directory if you have it in a subdirectory then that would be the last word like the rand in the top example. And I hope you aren't leaving the MYURL.com in the config.php file But there has to be something wrong with the configuration because you will never see a path that has a php file name in the middle it would have to be at the end.
So this would never work with a script
/home/httpd/vhosts/MYURL.com/httpdocs/admin/index.php/lib/stdlib.php'
As you showed above
My guess is that your wwwroot config in the config.php looks something like this
$CONFIG->wwwroot ="/home/httpd/vhosts/domain.com/httpdocs/index.php";
When it should look something like this
$CONFIG->wwwroot ="/home/httpd/vhosts/domain.com/httpdocs";
But that is just a guess.
Shadow |
|
|
|
|
 | moving forward slowly |  |
Posted: Mon Oct 27, 2003 2:10 am |
|
|
|
Here is the config file info
$CONFIG->wwwroot = "/home/httpd/vhosts/netwoozy.com/httpdocs";
//Site URL -please use the "http://www.mysite.com" format.
$CONFIG->siteurl = "http://www.netwoozy.com";
//Edit below ONLY if you changed the current site structure
$CONFIG->templatedir = "$CONFIG->wwwroot/templates";
$CONFIG->libdir = "$CONFIG->wwwroot/lib";
$CONFIG->imagedir = "$CONFIG->wwwroot/images";
I do NOT have the files in any directory, random, or whatever
Now when I go to the home page I get: netwoozy.com
function html_entity_decode ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); } function html_entity_decode ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); } Couldn't select database.
When I go to the config.php page I get:
function html_entity_decode ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); } function html_entity_decode ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); }
Warning: Cannot send session cache limiter - headers already sent (output started at /home/httpd/vhosts/netwoozy.com/httpdocs/lib/stdlib.php:3) in /home/httpd/vhosts/netwoozy.com/httpdocs/config.php on line 143
when I go to the admin/index.php page I see what looks like the start of the page I want to have when I am done, but also the following error messages:
function html_entity_decode ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); } function html_entity_decode ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); }
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/netwoozy.com/httpdocs/config.php on line 147
at the bottom of the page is another error for banners:
Fatal error: Call to undefined function: html_entity_decode() in /home/httpd/vhosts/netwoozy.com/httpdocs/banner_sus.php on line 16
You have given me some progress, can this group get netwoozy.com live? |
|
|
|
|
|
|