View Full Version : Install issue on Cobalt Raq
Shorty
05-18-2004, 05:53 PM
Dont mean to be a pain here if anyone out there has come accross this prob?
Its due to a Cobalt RAQ Admin system redirect prob?
I have installed Subdreamer in to the root web folder of the named site and when i click on the link to open the admin page for Subdreamer it actualy open the cobalt admin page instead is there anything i can change
http://www.mysite.com/admin
maybe i could rename the admin folder for Subdreamer and edit some files or is this a major rework?
Any help on this would be fantastic :)
Yikes!
I'll take a look at the code and come up with a solution asap.
Shorty
05-18-2004, 06:05 PM
Great thanks, im still looking through Sun's Kb to try and find a way to stop this :)
After carefully looking into this, I'm happy to say it's pretty easy to change the name of your Subdreamer admin folder.
There is only one change that needs to be done (only if you're going to use the Forum Skin Integration feature). In the admin folder, locate and open up the file forumintegration.php and find this line:
$sdpath = preg_replace("'admin(.*)'", "", $_SERVER['HTTP_REFERER']);
Change the word admin to the new name of the folder.
That's it!
Shorty
05-19-2004, 04:56 AM
Thanks this worked great but there are a couple of probs still, only small ones though :
1. On home page where can i change the link ("Click here" to begin updating and changing your website from the admin panel.) as i cant seem to find where it pulls this from.
2. I can now get into the admin pannel :) but when i click on the forum integration button the page loaded gives me these errors on various lines, it seems that its trying to find these files in a public folder i dont have ?
pasty here ---->
Warning: main(./authenticate.php): failed to open stream: No such file or directory in /home/.sites/28/site1/web/public/forumintegration.php on line 11
Warning: main(): Failed opening './authenticate.php' for inclusion (include_path='.:/usr/lib/php') in /home/.sites/28/site1/web/public/forumintegration.php on line 11
Warning: main(./../includes/core.php): failed to open stream: No such file or directory in /home/.sites/28/site1/web/public/forumintegration.php on line 12
Warning: main(): Failed opening './../includes/core.php' for inclusion (include_path='.:/usr/lib/php') in /home/.sites/28/site1/web/public/forumintegration.php on line 12
Warning: main(./adminfunctions.php): failed to open stream: No such file or directory in /home/.sites/28/site1/web/public/forumintegration.php on line 13
Warning: main(): Failed opening './adminfunctions.php' for inclusion (include_path='.:/usr/lib/php') in /home/.sites/28/site1/web/public/forumintegration.php on line 13
Fatal error: Call to undefined function: printheader() in /home/.sites/28/site1/web/public/forumintegration.php on line 15
<------cut pasty
btw am impressed with the ease of use of the admin pannel and flexibility :)
Shorty
Hi Shorty,
Where is your forumintegration file located?
It should be in the admin panel, but from the looks of things it seems to be in the main directory.
To begin adding/editing/deleting news for your website, select 'News' under the plugins menu in the left admin panel.
Shorty
05-19-2004, 12:05 PM
Hi subduck,
Its in the master folder which used to be called admin, i have changed the forumintegration.php file to this effect
$sdpath = preg_replace("'master(.*)'", "", $_SERVER['HTTP_REFERER']);
Hmm, this is a bit strange...
Can you please send me the link to your website so I can test a few things?
Shorty
05-19-2004, 04:19 PM
here goes its www.burnthesource.com but ive now got some sort of DB failiure, which is v bizzare :( its been okay for a while.
There is definitely something strange happening with the forumintegration.php file. Please send me the file you are using and I'll take a look at it.
silvrhand
05-19-2004, 04:43 PM
Sub,
Probably a pretty good idea on next release to change the /admin to configurable, would be nice if you could change it on the fly so that it helps with issues like this and security.
Dont mean to be a pain here if anyone out there has come accross this prob?
Its due to a Cobalt RAQ Admin system redirect prob?
I have installed Subdreamer in to the root web folder of the named site and when i click on the link to open the admin page for Subdreamer it actualy open the cobalt admin page instead is there anything i can change
http://www.mysite.com/admin
maybe i could rename the admin folder for Subdreamer and edit some files or is this a major rework?
Any help on this would be fantastic :)
In the next version it will be possible to rename the admin folder to anything you like without any configuration :)
Shorty
05-19-2004, 05:37 PM
Great all seems to be working fine now, i found the trouble :) just to let others know, the ssh client i am using from www.ssh.com doesnt seem to autodetect the file type correctly? so when i uploaded it corrupted some files, ive recreated site from scratch and ftp'd instead :)
vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.