You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 58 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Errors after transfering to Unix system [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Lord-Xanthor
Private
Private


Joined: May 04, 2003
Posts: 40


PostPosted: Wed Feb 13, 2008 4:18 pm Reply with quoteBack to top

This has me stumped as after transfering my site from a Windows server to a Unix, its generating a lot of errors. Despite configuring to the new server and importing the sql database, I have a feeling these errors arent true and that its a configuration problem? These errors happen every time I run any php file, including the test. Here are some of the erros.

Quote:
Warning: require_once(mainfile.php) [function.require-once]: failed to open stream: No such file or directory in /home/lordxant/public_html/Index.php on line 15

Fatal error: require_once() [function.require]: Failed opening required 'mainfile.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lordxant/public_html/Index.php on line 15


By the way, mainfile.php is in the firectory.

When I ran the test to see the setup, it shows the configuration but still gets 5 errors as well.

Quote:
Warning: include(config.php) [function.include]: failed to open stream: No such file or directory in /home/lordxant/public_html/Test.php on line 2

Warning: include() [function.include]: Failed opening 'config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lordxant/public_html/Test.php on line 2

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'lordxant'@'localhost' (using password: NO) in /home/lordxant/public_html/Test.php on line 2

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'lordxant'@'localhost' (using password: NO) in /home/lordxant/public_html/Test.php on line 2

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/lordxant/public_html/Test.php on line 2
Access denied for user 'lordxant'@'localhost' (using password: NO)


Here are some of the stats.
PHP version 5.2.5
Cpanel
Unix system (running some type of apachie) I know more info will be needed, so please let me know what else. Windows was easy to fix, Unix is giving me more hair loss then my wife >_< Well almost.
Find all posts by Lord-XanthorView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12383


PostPosted: Wed Feb 13, 2008 4:28 pm Reply with quoteBack to top

Check the permissions of your files and folders?
Generally folders are 755 and files are 644 unless there are special circumstances.

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Lord-Xanthor
Private
Private


Joined: May 04, 2003
Posts: 40


PostPosted: Thu Feb 14, 2008 9:38 am Reply with quoteBack to top

Cpanel had an option to install phpnuke, so just as a test, I did that instead of using my setup and discovered something that unless theres an easyer way, is going to be a HUGE headache. Unlike xp, Unix is caps sensative so a file can be named Index.php and index.php. So guess what? Reason files couldnt be found was because it couldnt find mainfile.php because on the server it was Mainfile.php. Now, is there some easy command to make all the files lower case or am I going to have to change each small file?
Find all posts by Lord-XanthorView user's profileSend private messageVisit poster's website
gnaunited
Corporal
Corporal


Joined: Jun 22, 2003
Posts: 66

Location: Northglenn, Colorado

PostPosted: Wed Jun 11, 2008 11:06 am Reply with quoteBack to top

Linux / Unix / BSD filesystems are case sensitive, I only bring this up because I noticed that Index.php and Test.php start with a capital letter. So in L/U/B Mainfile.php is a separate from from mainfile.php
Find all posts by gnaunitedView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.197 Seconds - 332 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::