| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| modifiy -
 
 
 Joined: 03 Apr 2003
 Posts: 10
 
 
 | 
			
				|  Posted: Fri Apr 04, 2003 6:50 am    Post subject: phpnuke probs |   |  
				| 
 |  
				| ok i fallowed the tutoral and whatnot and all seemed to install correct, but instead of code i get a list of all the files in the nuke folder.. what did i do wrong? |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| aprelium -
 
 
 Joined: 22 Mar 2002
 Posts: 6800
 
 
 | 
			
				|  Posted: Fri Apr 04, 2003 2:16 pm    Post subject: Re: phpnuke probs |   |  
				| 
 |  
				|  	  | modifiy wrote: |  	  | ok i fallowed the tutoral and whatnot and all seemed to install correct, but instead of code i get a list of all the files in the nuke folder.. what did i do wrong? | 
 Have you declared index.php as an index file?
 _________________
 Support Team
 Aprelium - http://www.aprelium.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| modifiy -
 
 
 Joined: 03 Apr 2003
 Posts: 10
 
 
 | 
			
				|  Posted: Sat Apr 05, 2003 12:47 am    Post subject: |   |  
				| 
 |  
				| ya i have it set to index.php i also changed the documents path to phpnuke from htdocs.  now i receive this error.  i have my register_globals = on  so im not sure what it is. 
 
 [/code] 	  | Code: |  	  | Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\Program Files\Abyss Web Server\phpnuke\includes\sql_layer.php on line 301
 
 Warning: main(language/lang-.php) [function.main]: failed to create stream: No such file or directory in C:\Program Files\Abyss Web Server\phpnuke\mainfile.php on line 75
 
 Warning: main() [function.main]: Failed opening 'language/lang-.php' for inclusion (include_path='.;c:\php4\pear') in C:\Program Files\Abyss Web Server\phpnuke\mainfile.php on line 75
 
 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\Program Files\Abyss Web Server\phpnuke\includes\sql_layer.php on line 301
 
 Notice: Undefined variable: file in C:\Program Files\Abyss Web Server\phpnuke\index.php on line 36
 
 Notice: Undefined index: 2 in C:\Program Files\Abyss Web Server\phpnuke\mainfile.php on line 123
 
 Notice: Undefined variable: modpath in C:\Program Files\Abyss Web Server\phpnuke\index.php on line 49
 
 Notice: Undefined index: 1 in C:\Program Files\Abyss Web Server\phpnuke\mainfile.php on line 401
 
 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\Program Files\Abyss Web Server\phpnuke\includes\sql_layer.php on line 301
 
 Notice: Undefined offset: 2 in C:\Program Files\Abyss Web Server\phpnuke\mainfile.php on line 403
 
 Notice: Undefined offset: 1 in C:\Program Files\Abyss Web Server\phpnuke\mainfile.php on line 296
 
 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\Abyss Web Server\phpnuke\includes\sql_layer.php on line 357
 
 Notice: Undefined index: 2 in C:\Program Files\Abyss Web Server\phpnuke\mainfile.php on line 123
 
 Warning: head(themes//theme.php) [function.head]: failed to create stream: No such file or directory in C:\Program Files\Abyss Web Server\phpnuke\header.php on line 31
 
 Warning: head() [function.head]: Failed opening 'themes//theme.php' for inclusion (include_path='.;c:\php4\pear') in C:\Program Files\Abyss Web Server\phpnuke\header.php on line 31
 
 Notice: Undefined variable: PHP_SELF in C:\Program Files\Abyss Web Server\phpnuke\includes\meta.php on line 15
 
 Notice: Use of undefined constant _CHARSET - assumed '_CHARSET' in C:\Program Files\Abyss Web Server\phpnuke\includes\meta.php on line 24
 
 Notice: Undefined variable: PHP_SELF in C:\Program Files\Abyss Web Server\phpnuke\includes\javascript.php on line 15
 
 Fatal error: Call to undefined function: themeheader() in C:\Program Files\Abyss Web Server\phpnuke\header.php on line 47
 | 
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| ShadowHawk -
 
 
 Joined: 02 Apr 2003
 Posts: 1
 
 
 | 
			
				|  Posted: Sun Apr 06, 2003 12:37 am    Post subject: Errors |   |  
				| 
 |  
				| Modify, I had a problem similar to that, might want to try editing the php.ini folder and setting error_report = off or something like that. |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| modifiy -
 
 
 Joined: 03 Apr 2003
 Posts: 10
 
 
 | 
			
				|  Posted: Sun Apr 06, 2003 7:57 am    Post subject: |   |  
				| 
 |  
				| ok now i just get blank pages, when i tryt o go to a specfic file like index.php, but if i just try to go to localhost/ it just sits there and never loads...? :?: |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| aprelium -
 
 
 Joined: 22 Mar 2002
 Posts: 6800
 
 
 | 
			
				|  Posted: Sun Apr 06, 2003 3:15 pm    Post subject: |   |  
				| 
 |  
				|  	  | modifiy wrote: |  	  | ok now i just get blank pages, when i tryt o go to a specfic file like index.php, but if i just try to go to localhost/ it just sits there and never loads...? :?: | 
 The errors you get say that there are some problems with the included files and the path names. Reinstall phpnuke carefully and check that the files are in the correct directories.
 _________________
 Support Team
 Aprelium - http://www.aprelium.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| modifiy -
 
 
 Joined: 03 Apr 2003
 Posts: 10
 
 
 | 
			
				|  Posted: Sun Apr 06, 2003 6:51 pm    Post subject: |   |  
				| 
 |  
				| ok i figured out that i setup the virtual path for something other than /, but now i get what i got before just a list of the files, but say if i click on admin.php i those errors.  Everything seems to be right i took everything out of the html folder and placed it in the phpnuke folder.  this is what i get when i go to my localhost/  |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| Deledar -
 
 
 Joined: 26 Feb 2003
 Posts: 94
 
 
 | 
			
				|  Posted: Mon Apr 07, 2003 3:28 am    Post subject: |   |  
				| 
 |  
				| Ok you didn't put every file from the HTML Folder. You are missing some stuff like index.php. Try redownloading it and follow the guide I posted.
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| modifiy -
 
 
 Joined: 03 Apr 2003
 Posts: 10
 
 
 | 
			
				|  Posted: Mon Apr 07, 2003 5:04 am    Post subject: |   |  
				| 
 |  
				| :?: i see index.php in that screenshot i sent how is it not there? |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| modifiy -
 
 
 Joined: 03 Apr 2003
 Posts: 10
 
 
 | 
			
				|  Posted: Mon Apr 07, 2003 5:35 am    Post subject: |   |  
				| 
 |  
				| ok what i did was end up downloading the newer version of phpnuke, 6.5 and deleted the mysql stuff and redoing the mysql and now it seems to work.  Thanks all for your help. |  | 
	
		| Back to top |       | 
	
		|  | 
	
		|  |