The Arcive of vBulletin Modifications Site. | 
    |
    
   CMPS on main domain ? Details »»
   | 
 |||||||||||||||||||||||||
   
 I want to install this on it's own domain. I have my cmps at: 
     
     
     
     
     www.stepheniansonline.com/forum/home.php And forums at : www.stepheniansonline.com/forum/index.php I want the cmps to be on the domain like when someone opens the site it should come on the main domain i.e. : www.stepheniansonline.com Can anyone guide me on how to do that Thanks in advance! Mike Show Your Support 
  | 
 |||||||||||||||||||||||||
| Comments | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			I would like to know the same thing.
		 
		
		
		
		
		
		
		
		
	
	 | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			you put your cmps_index.php at the root of your www folder in your ftp server 
		
		
		
		
		
		
		
		
	
	i'm french, maybe i didn't understood the question...  | 
| 
		 
			 
			#4  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			... and then rename it from cmps_index.php to index.php (or whatever else your server recognizes as the default file index).  Just make sure that you modified your cmps_index.php file to have the correct path in it to your forums.
		 
		
		
		
		
		
		
		
		
	
	 | 
| 
		 
			 
			#5  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			I'm trying to do the same, and I've now got a renamed cmps_index.php file in my root folder (now called index.php) and still have the default vBulletin index.php in the /forum folder - but when I go to www.mydomain - which now starts off the cmps file, I get these error messages. Is there some other twiddling I need to do? 
		
		
		
		
		
		
		
		
	
	The error is.... Warning: main(/xxxxxx/public_html/includes/init.php) [function.main]: failed to open stream: No such file or directory in /xxxxxx/public_html/forum/global.php on line 20 Fatal error: main() [function.require]: Failed opening required '/xxxxxx/public_html/includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /xxxxxx/public_html/forum/global.php on line 20  | 
| 
		 
			 
			#6  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			Anyone?  
		
		
		
		
		
		
		
		
	
	 
		 | 
| 
		 
			 
			#7  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			Is there a fundamental reason why I can't have the cmps_index.php (renamed to index.php) in the root directory and yet still have the default VBulletin index.php (and all other files) in the /forum directory? 
		
		
		
		
		
		
		
		
	
	Initially I get this error message if I have the cmps_index.php file in the root directory... Warning: main(./includes/vba_cmps_include_template.php) [function.main]: failed to open stream: No such file or directory in /xxxxxx/public_html/index.php on line 44 Fatal error: main() [function.require]: Failed opening required './includes/vba_cmps_include_template.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /xxxxxx/public_html/index.php on line 44 Where line 44 and 45 are require_once('./includes/vba_cmps_include_template.php'); require_once('./global.php'); The obvious reason for the error is that it's not looking in the /forum folder for those files - so if I add /forum to those lines I then get the error I had in post #5... Warning: main(/xxxxxx/public_html/includes/init.php) [function.main]: failed to open stream: No such file or directory in /xxxxxx/public_html/forum/global.php on line 20 Fatal error: main() [function.require]: Failed opening required '/xxxxxx/public_html/includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /xxxxxx/public_html/forum/global.php on line 20 where line 20 is require_once(CWD . '/includes/init.php'); Is it just not possible to get it to work if you have the cmps_index.php and VBulletin index.php files in different folders? If it is possible, am I missing a setting? What exactly should I have typed into the CMPS CP for the CMPS URL? Thanks for any help.  | 
| 
		 
			 
			#8  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 Quote: 
	
  | 
| 
		 
			 
			#9  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			The line in the cmps_index.php file is pointing to the forum folder.... 
		
		
		
		
		
		
		
		
	
	$forumpath = '/xxxxxx/public_html/forum';  | 
| 
		 
			 
			#10  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 Quote: 
	
 After that go into you ACP and check vBa CMPS => Default Settings => CMPS URL to make sure that the correct value is in there. After that go into ACP => vBulletin Options => Site Name / URL / Contact Details and make sure the various URL & path values are correct.  | 
![]()  | 
	
	
		
		
  | 
	
		
  | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
						
  | 
				|
  More Information | 
				|
| 
						 Template Usage: 
						
 Phrase Groups Available: 
						
  | 
					
						 Included Files: 
						
 Hooks Called: 
						
  |