Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's v7.0 Customized Distro
Author Message
9th
New Member
New Member


Joined: Jan 22, 2004
Posts: 6

PostPosted: Fri Jan 23, 2004 2:35 am Reply with quote

First off, I'm a true newbie to PHP. I can understand some stuff, but other stuff still bogles my mind.

I've seen PHPNuke set up on a lot of other sites and decided to play around with it abit, and possibly convert my site. The only problem is I get these errors trying to view the index.php:

Code:
Warning: main(language/lang-.php): failed to open stream: No such file or directory in C:\phpnuke\html\mainfile.php on line 189


Warning: main(): Failed opening 'language/lang-.php' for inclusion (include_path='.;c:\php4\pear') in C:\phpnuke\html\mainfile.php on line 189

Warning: head(themes//theme.php): failed to open stream: No such file or directory in C:\phpnuke\html\header.php on line 31

Warning: head(): Failed opening 'themes//theme.php' for inclusion (include_path='.;c:\php4\pear') in C:\phpnuke\html\header.php on line 31

Fatal error: Call to undefined function: themeheader() in C:\phpnuke\html\header.php on line 47


I used Only registered users can see links on this board! Get registered or login! tutorial to set it all up, although I installed just php, mysql and apache - nothing else.

If someone could point me in the right direction (I think I may have forgotten to run a config file somewhere to set up the language) I'd be very thankful.
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Fri Jan 23, 2004 5:03 am Reply with quote

From what you've told me here I think you haven't ftp'd everything and/or your tables may not be set up correctly.

If you are using my distribution, then you should have about 33meg of files on your server.

- Verify that you have approx. 33 meg of files on your site.
- Verify that your themes folder has folders in it and files in those folders.

If those 2 points above are correct, then proceed on.

- Point your browser to the folder that has the ravenInstaller.php in it. After entering the information, install the raven-nuke.sql file. Assuming that works successfully, proceed to the next step.

- Update the config.php file with your MySQL connection parameters.

Your nuke site should now be installed.
 
View user's profile Send private message
9th
PostPosted: Fri Jan 23, 2004 10:10 am Reply with quote

I actully installed this on my own PC to test it out. Everything, I believe, is set up correctly.

I tried what you said, I used the sql/ravenInstall.php file. I have already done this before, but I used the raven-nuke.sql not the orig-nuke.sql. So I tried both this time and I still get the same errors.

There is folder/files in my themes directories.

Is there anything else I could try?

EDIT: Forgot to mention that the config.php file is already correct, as I didn't set up any usernames/passwords for MySQL. And following the tutorial I posted above, it told be to create the database "nuke", so that sould be right too.
 
Raven
PostPosted: Fri Jan 23, 2004 10:29 am Reply with quote

PM me your
Site URL
FTP url/id/pass
phpMyAdmin url/id/pass

I'll take a look as soon as I can.
 
Raven
PostPosted: Fri Jan 23, 2004 3:09 pm Reply with quote

I think I found your problem. It's in your php.ini file. Look in php.ini and find these 2 lines
Code:
; Windows: "\path1;\path2"

;include_path = ".;c:\php\includes"
You need to uncomment (remove the ; in front of the second line
Code:
; Windows: "\path1;\path2"

include_path = ".;c:\php\includes"
and then restart your server.
 
9th
PostPosted: Fri Jan 23, 2004 3:27 pm Reply with quote

Done, but I'm getting the same errors, except with "include_path='.;c:\php\includes'" replacing "include_path='.;c:\php4\pear'"
 
Raven
PostPosted: Fri Jan 23, 2004 3:38 pm Reply with quote

Laughing You don't have a folder c:\php\includes - my error Laughing

I made some changes to your php.ini. Please restart your server. Even if it doesn't resolve the immediate issue, the changes needed to be made Smile
 
9th
PostPosted: Fri Jan 23, 2004 3:52 pm Reply with quote

I just did right now, but I got alot of pop-up errors complaining:

"Unknown(): Unable to load dynamic library 'c:/php/extentions\php_gd2.dll" - The specified module could not be found"

And quite a few others with the same directory, looks like you typed the wrong slash?

Keep up the hard work, I very thankful! Mr. Green
 
Raven
PostPosted: Fri Jan 23, 2004 3:56 pm Reply with quote

Your php folder is, uh, not standard Laughing I just went into your php.ini and made more changes. Please restart your server.
 
9th
PostPosted: Fri Jan 23, 2004 3:59 pm Reply with quote

Oh, clean restart. :p

Was that the apache config file giving me the errors or the php.ini?
 
Raven
PostPosted: Fri Jan 23, 2004 4:11 pm Reply with quote

Fixed. DUH on me! You hadn't set your MySQL parameters in config.php. But, you would have had numerous other issues had we not also fixed you php.ini so it wasn't all in vain. The good news is that the distro had nothing to do with any of it Smile BTW, donations are always welcomed Wink
 
9th
PostPosted: Fri Jan 23, 2004 4:19 pm Reply with quote

Wow, thanks alot! I might just give ya a few bucks Wink Ya do have a nice site, and with the help you've given me I'll be back to this site for all my PHP needs!

I thought the parameters where already correct in config.php, since I left the default when installing MySQL, but I'll look it over and learn Razz
 
Raven
PostPosted: Fri Jan 23, 2004 4:21 pm Reply with quote

You needed to supply, at a minimum, the dbname. However, just as soon as possible, add a user and pass for security reasons Wink
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's v7.0 Customized Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©