PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
9th
New Member
New Member


Joined: Jan 22, 2004
Posts: 6

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

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 to the forums!
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: 16987
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
9th
New Member
New Member


Joined: Jan 22, 2004
Posts: 6

PostPosted: Fri Jan 23, 2004 10:10 am Reply with quote Back to top

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.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Jan 23, 2004 10:29 am Reply with quote Back to top

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

I'll take a look as soon as I can.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Jan 23, 2004 3:09 pm Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
9th
New Member
New Member


Joined: Jan 22, 2004
Posts: 6

PostPosted: Fri Jan 23, 2004 3:27 pm Reply with quote Back to top

Done, but I'm getting the same errors, except with "include_path='.;c:\php\includes'" replacing "include_path='.;c:\php4\pear'"
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Jan 23, 2004 3:38 pm Reply with quote Back to top

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
9th
New Member
New Member


Joined: Jan 22, 2004
Posts: 6

PostPosted: Fri Jan 23, 2004 3:52 pm Reply with quote Back to top

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
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Jan 23, 2004 3:56 pm Reply with quote Back to top

Your php folder is, uh, not standard Laughing I just went into your php.ini and made more changes. Please restart your server.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
9th
New Member
New Member


Joined: Jan 22, 2004
Posts: 6

PostPosted: Fri Jan 23, 2004 3:59 pm Reply with quote Back to top

Oh, clean restart. :p

Was that the apache config file giving me the errors or the php.ini?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Jan 23, 2004 4:11 pm Reply with quote Back to top

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
9th
New Member
New Member


Joined: Jan 22, 2004
Posts: 6

PostPosted: Fri Jan 23, 2004 4:19 pm Reply with quote Back to top

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
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Jan 23, 2004 4:21 pm Reply with quote Back to top

You needed to supply, at a minimum, the dbname. However, just as soon as possible, add a user and pass for security reasons Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum