Home TheRandomizer Forum Index Log in Register FAQ Search
TheRandomizer Forum Index » Installation Help » why this absolute path doesn't work, why is this different Goto page Previous  1, 2, 3  Next
Post new topic  Reply to topic View previous topic :: View next topic 
PostPosted: Fri Nov 07, 2003 7:44 pm Reply with quote
cashgalore
Visitor
Joined: 04 Nov 2003
Posts: 13




I have cPanel and it installed first time no problem.

Without seeing it through your cPanel it's hard to assist.

If you wish to e mail me directly with your details. I can have a look for you.

Mike@dailyclassifieds.co.uk
hold on for now
PostPosted: Fri Nov 07, 2003 11:34 pm Reply with quote
klaussr
Guest




I have discovered a problem for now with the ip address that my domain should have, and it's like it's resolving to another 'unknown' ip address.

I have deleted the domain from the webhost management panel (whm) and wait until the domain doesn't ping with this wrong ip address. after that I'll be adding it again to see if it solve first this issue.

I'll be letting you know of my progress.

Regards
I have solved part of the problem
PostPosted: Mon Nov 10, 2003 1:05 am Reply with quote
klaussr
Guest




ok, finally I found out I had an error with the ip address I was using, the domain I was trying to configure was the wrong one, I had aquired this domain but it was someone else the owner..

anyways, now I have the correct info, I had installed the randomizer and after installing it came out with the information of the tables it created with the database I gave it.

ok, everything fine till there, but now that I go to see my site, I get this message instead of the correct page:
(the page it shows is only this error)

Warning: main(home/secondrm/public_html/lib/stdlib.php): failed to open stream: No such file or directory in /home/secondrm/public_html/config.php on line 143

Quote:
Fatal error: main(): Failed opening required 'home/MYUSERNAME/public_html/lib/stdlib.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/MYUSERNAME/public_html/config.php on line 143


I have replazed the correct 'username' for security porposes, but that's the only thing I see in the page.

I went to see the file config.php line 143 and that line says:

require("$CONFIG->libdir/stdlib.php");

I have checked that line and libdir is at the top with this line:
$CONFIG->libdir = "$CONFIG->wwwroot/lib";

and wwwroot is the one more at the top
home/MYUSERNAME/public_html

So I can't figureout why this error on the first place when everything shows fine.
forgot to ad
PostPosted: Mon Nov 10, 2003 1:17 am Reply with quote
klaussr
Guest




the lib directory exists at the root and the file stdlib is in there.
PostPosted: Mon Nov 10, 2003 1:30 am Reply with quote
shadow
Addict
Joined: 16 Oct 2003
Posts: 171
Location: Virgin Islands




Hi Klaussr,

It appears that you are not replacing the "MYUSERNAME" with the id that you use to ftp to your site. I am guessing that english isn't your first lanquage and I am hoping that it is German. Just a guess with the name Klaussr. If not then let me know and I will try to get this translated. But here is the German version

Sie müssen MYUSERNAME zu Ihrem FTP Benutzernamen ändern

I don't speak German I got this from Altavista Translations.
http://babelfish.altavista.com/translate.dyn

Shadow
...
PostPosted: Mon Nov 10, 2003 1:46 am Reply with quote
klaussr
Visitor
Joined: 10 Nov 2003
Posts: 23




I'm not german, anyways my english is not my first language but I think I make understand myself.

and YES, I did reeplaced 'myusername' with the name I ftp to the site, is in absolute path in config.php ( $CONFIG->wwwroot = "home/MYUSERNAME/public_html"; )

the installation as I mention before it did go through fine, the tables for the database were created and everythink looked fine after the installation.

just that when I went to see the resaults at the main site, that's what I'm getting instead, a page with that error.

it looks like it doesn't find the file '/lib/stdlib.php' and it should because I haven't changed anything major in the config.php file, just added the paths at the top.
PostPosted: Mon Nov 10, 2003 1:51 am Reply with quote
shadow
Addict
Joined: 16 Oct 2003
Posts: 171
Location: Virgin Islands




The next question is did you edit the db_connect.php file to match your database information? If you didn't do this and upload the new file.

Shadow
..
PostPosted: Mon Nov 10, 2003 3:23 am Reply with quote
klaussr
Visitor
Joined: 10 Nov 2003
Posts: 23




that was one of the first things I did before I started the installation.

I configured the file db_connect.php to match the dbase name, user/password. I believe that's why the installation went ok by creating the tables and connecting to the database created beforehand.
..
PostPosted: Mon Nov 10, 2003 4:26 am Reply with quote
klaussr
Visitor
Joined: 10 Nov 2003
Posts: 23




I'm going to delete the tables from the database and do another installation to see if that fixes this error message.
finally is working
PostPosted: Mon Nov 10, 2003 5:12 am Reply with quote
klaussr
Visitor
Joined: 10 Nov 2003
Posts: 23




I belive the error was not including the backslash before the

home/username/public_html


after I changed it for:

/home/username/public_html it worked finally.


Regards.
 why this absolute path doesn't work, why is this different 
 TheRandomizer Forum Index » Installation Help
All times are GMT  
Page 2 of 3  
Goto page Previous  1, 2, 3  Next
  
  
 Post new topic  Reply to topic  


Powered by phpBB© 2001-2006 phpBB Group |Randomizer Script | Web Hosting | phpBB Skin by Vjacheslav Trushkin