And is that the correct full path? If you're not sure then inside of the vBa CMPS download package is a folder called "Extra (do not upload)" and inside of that folder is a file named "forumpath.php" -- Upload that file to your forums folder and run it. That script will attempt to determine the value you want put in the cmps_index.php file.
Yes, it's correct. I ran that script when I first installed CMPS to determine the full path.
Quote:
Originally Posted by KW802
After that go into you ACP and check vBa CMPS => Default Settings => CMPS URL to make sure that the correct value is in there.
This may be where I've gone wrong. Given that my cmps_index.php is in the root, and all the other forum files are in /forum - what value should be in here now? When I first installed CMPS it set itself to ..index. That was when the cmps_index was in the /forum directory. Now that it's in root, I expect it needs to change, but what to?
Quote:
Originally Posted by KW802
After that go into ACP => vBulletin Options => Site Name / URL / Contact Details and make sure the various URL & path values are correct.
They've remained unchanged since I installed the forum way back and I assume have no need to be changed due to installing CMPS. The forum itself is working fine.
... This may be where I've gone wrong. Given that my cmps_index.php is in the root, and all the other forum files are in /forum - what value should be in here now? When I first installed CMPS it set itself to ..index. That was when the cmps_index was in the /forum directory. Now that it's in root, I expect it needs to change, but what to? ...
I've see a few conflicting answers but at least what works for me in that value is the URL to where the cmps_index.php file is. For example, at Cool SciFi with CMPS in the root I renamed cmps_index.php to index.php and then in the ACP for the vBa CMPS settings I changed the location to http://www.coolscifi.com/index.php and at least on all of my sites that works fine.
I've see a few conflicting answers but at least what works for me in that value is the URL to where the cmps_index.php file is. For example, at Cool SciFi with CMPS in the root I renamed cmps_index.php to index.php and then in the ACP for the vBa CMPS settings I changed the location to http://www.coolscifi.com/index.php and at least on all of my sites that works fine.
Thanks Kevin - off to try that now......
Edit: .......and realises that I already had that typed in that setting i.e - http://mydomain.com/index.php when I posted above in #7. This is doing my head in now!
... 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.
I didnt even edit the cmps_index.php file and mine works perfectly fine. lol.
Embarrassingly it was down to something I had accidentally deleted! When I did a modification that required a slight edit of the cmps_index.php file, I somehow managed to delete this line of code that was above the line being modified......
PHP Code:
chdir($forumpath);
which was kinda crucial in the grand scheme of things!! :nervous: :nervous: :nervous: :nervous: :nervous:
So sorry for all the endless questions and tearing out of my hair when it was down to a slip of the backspace key!
If you want the index.php to be the default page, then all you need to do is delete or rename your index.html to something like indexold.html. Then when you go to www.mydomian.com it will start with the CMPS page.
When I lay the portal page at root some of the images get wrong (It expects them to be in root/images instead of the full path/forums/images). How can I correct that?