Author |
Message |
9th
New Member


Joined: Jan 22, 2004
Posts: 6
|
Posted:
Fri Jan 23, 2004 2:35 am |
|
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. |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Fri Jan 23, 2004 5:03 am |
|
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. |
|
|
|
 |
9th

|
Posted:
Fri Jan 23, 2004 10:10 am |
|
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

|
Posted:
Fri Jan 23, 2004 10:29 am |
|
PM me your
Site URL
FTP url/id/pass
phpMyAdmin url/id/pass
I'll take a look as soon as I can. |
|
|
|
 |
Raven

|
Posted:
Fri Jan 23, 2004 3:09 pm |
|
I think I found your problem. It's in your php.ini file. Look in php.ini and find these 2 linesCode:; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
| You need to uncomment (remove the ; in front of the second lineCode:; Windows: "\path1;\path2"
include_path = ".;c:\php\includes"
| and then restart your server. |
|
|
|
 |
9th

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

|
Posted:
Fri Jan 23, 2004 3:38 pm |
|
You don't have a folder c:\php\includes - my error
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  |
|
|
|
 |
9th

|
Posted:
Fri Jan 23, 2004 3:52 pm |
|
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!  |
|
|
|
 |
Raven

|
Posted:
Fri Jan 23, 2004 3:56 pm |
|
Your php folder is, uh, not standard I just went into your php.ini and made more changes. Please restart your server. |
|
|
|
 |
9th

|
Posted:
Fri Jan 23, 2004 3:59 pm |
|
Oh, clean restart. :p
Was that the apache config file giving me the errors or the php.ini? |
|
|
|
 |
Raven

|
Posted:
Fri Jan 23, 2004 4:11 pm |
|
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 BTW, donations are always welcomed  |
|
|
|
 |
9th

|
Posted:
Fri Jan 23, 2004 4:19 pm |
|
Wow, thanks alot! I might just give ya a few bucks 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  |
|
|
|
 |
Raven

|
Posted:
Fri Jan 23, 2004 4:21 pm |
|
You needed to supply, at a minimum, the dbname. However, just as soon as possible, add a user and pass for security reasons  |
|
|
|
 |
|