PDA

View Full Version : test forum on shared Server causing havoc


wmlvb
06-08-2009, 01:15 PM
I have a clone test forum and and live forum. Since the lasted upgrade to 3.8 I have had probelme with test. I was not able to log into admin and I no longer had have a Forum page.

I fixed the log issue by chanaging the Cookie location to /testvb

I still no longer have a forum home page in testvb and do not know which file to edit to tell the link I want for my forum. Can someone help answer this.?

Also I am now having issues with my live forum including
.staying logged in and passwords not being remember even though that is checked.

.Another problem is my newest smileys are no longer showing in post even though they did work before I fixed the admincp log in issue for testvb

.also any signature that was editied in admin area and has html is showing up as code.

Can someone please tell me how to fix these 4 issues? thanks

Lynne
06-08-2009, 02:46 PM
You have a totally different database for your test account, right? And your config.php file points to the test database, correct? You also need to change a few things in vboptions > site name/etc > all the urls there. And, you may have to also change the paths for where your avatars/attachments/etc are stored (depending on how you wrote the path).

wmlvb
06-08-2009, 03:55 PM
Lynn,

I think part of the problems is all forum files are in the testvb file there is no seperate file called "forum" so when I add testvb/forum to url it says there is no page. What should I do?

I do have a database setup for the cloned data, and yes the info is in the testvb config.php. I just cannot access it.

--------------- Added 1244480461 at 1244480461 ---------------

I shoulld say that I am using /testvb as my vbadvance homepage.

Lynne
06-08-2009, 04:19 PM
If all the files are in /testvb, then you shouldn't add /forum to the end of it. Or, create a /forum in /testvb.

wmlvb
06-08-2009, 04:29 PM
so what is link for forum home page?

/testvb is vbadvance home page so that is not it

the testvb heompage is working fine but it is not the forumhome page. i am trying to access my testvb forum hompage

Lynne
06-08-2009, 04:38 PM
How doyou have your live site structured? Do you have vbadvance at index.php and then the vb forums in a forums directory? If so, you should do the same thing on your live site.

wmlvb
06-08-2009, 05:49 PM
lynn,

That is why I am asking.. I do not know how to do what you are asking.

I know my live site has vbadvance files in the "forum " files

I know my homepage on my live site is vbadvacne and the url is the main domain "/" my forum home page is "/foum"

my testvb test website is a subdoamin of my main domain.

so my testvb vbadvance home page url is /testvb

Now all I need is a Forum home page for testvb website!! Thanks

Lynne
06-08-2009, 08:25 PM
You should create a directory inside of /testvb called /forum and put your vbulletin files in there. Then you would have /testvb/forum for where your test forums are.

wmlvb
06-08-2009, 10:38 PM
Lynn,

According to Wayne on paid phone support I do not have to do this. He says I need to intall index.php from vbulletin again and rename because there is only index.php for vbadvacne. So who is right?? Thanks

Lynne
06-08-2009, 10:53 PM
Well, do don't have to do it how I suggested, I just thought you wanted your test site to be laid out the same way your live site is laid out. If you want to have it all in one forum, then rename your vbulletin index.php file to something like forums.php and then enter the new name in vboptions > forum home page options > script name for forum home. Then you can name your vbadvanced page index.php.

(I am wondering if I am misunderstanding some of what you are writing. You keep saying the forums are at /forum and I assume you are talking about a directory, not a page.)

wmlvb
06-09-2009, 03:08 PM
Lynn,

Thanks for the help. I thought there was a directory testvb/forums but there is not. It looks like there is only testvb and all forum files are in that file. Testvb is a subdomain of my live site. So if I do what you said and place my VB index.php in testvb (it was deleted when vbadvance was renamed, this was done by freelancer!!!) I will then have both a testvb home page and testvb forum home?

What would be the Url then if I rename the vb indes.php to forums.php??

Lynne
06-09-2009, 03:47 PM
If you keep your vbulletin files in the /testvb directory and don't create a /forums directory inside the /testvb directory (like on your live site), then you may rename your vbulletin index.php to forums.php and change it in the option I mention above. Once you do that, you may put your vbadvanced index.php file in the folder and you will have vbadvanced at index.php and your forums at forums.php

wmlvb
06-09-2009, 03:50 PM
so the vbdavance home pge url would be /testvb and the forum home page would be testvb/forums.php right? (After I make the changes.)

--------------- Added 1244566424 at 1244566424 ---------------

I am now having problems with logging into my live site and cannot change password because it keep say wrong password even when I get new one.

I have done the tools.php things but no longer working! I still cannot log in. I think this al related to the index.php for test forum is missing. This should fix. Right?

Lynne
06-09-2009, 03:57 PM
Your vbadvanced home page url would be testvb/index.php and your forums would be at testvb/forums.php

What did you do with the tools.php file? You used it in your testvb/admincp folder, right?

wmlvb
06-09-2009, 04:44 PM
now I cannot access tetvb either and no password are working for both my admin names

I uploaded tools.php to both and turned all cookies to blank

and cookies domain to blank


reset all admin users in both sites nothing working. I have no access to my site or my admincp

Lynne
06-09-2009, 04:48 PM
If you change your cookie domain, then you will screw things up for you and you will need to delete all your cookies before going back to your site.

In fixing your issues with your test site, you should not be using tools.php on your live site.

wmlvb
06-09-2009, 04:57 PM
I had to use tools.php on my live site because I could not access my admincp!!

I tried clearing coookies and cache in two browser nothing working cannot access admincp or the frontend on both my testvb and my live site!!

--------------- Added 1244575705 at 1244575705 ---------------

???

I was able to do a work around a create a new user and give them admin access

I was able to change on password and fix that admin access but not my main even after I took out of config.php! I get a fatal error every time I try to change the password of my main user . It is a very long database error

Please someone help with this. I really need to get this fixed

--------------- Added 1244575949 at 1244575949 ---------------

well I take that back! now all My admin users and all my password are not working again !!!!

--------------- Added 1244576361 at 1244576361 ---------------

Looks like I get one shot to access admin cp and then if try and log in again after that, I get bumped off. I can no longer log in!!

--------------- Added 1244576491 at 1244576491 ---------------

I think this is not happening to all my other users because they have not cleared their cookies but will when they do. I need to get this fixed. I have paid through the nose for this and it is so screwed up!! I really need someone who knows what they are doing to help me fix this!!

--------------- Added 1244576530 at 1244576530 ---------------

Is there a place to list incompetent freelancers??

Lynne
06-09-2009, 08:42 PM
OK, let's go back to the beginning.

You have a *live* site installed with an index.php page which is vbadvanced and then a /forums/index.php page which is vbulletin. And you have a test site installed with /testvb/index.php which is vbadvanced and /textvb/forum.php which is vbulletin.

Are all your cookie settings at the default on both sites? (/ for path and (blank) for domain)? Do you have a cookie prefix set for either the test site or main site in your config.php pages for each of those or are they the same for each?

It's very hard for me to follow what you are up to at times.

wmlvb
06-10-2009, 12:47 AM
It is all a progression of bad thing happening to my forum and now I am to the point where I cannot log in at all on my main computer because I cleared my browser cookies. As long as I do not clear my browser cookies on my other laptop I am able to log in. ! I am trying to find someone to come in and fix with out have to pay for the 5th time for the same thing!!

Outbackmark
06-10-2009, 03:21 AM
Hi wm
It looks like the whole thing is a bit of a muddle, you may need to start from scratch, take a backup of your main DB, then set the whole thing up so that the live site files are all in public_html/forum (except VBA which will be in public_html), then set the test forum up in public_html/test (VBA here)/forum (main files here).
Using a subdomain in this way can be very tricky as you have discovered, much better to set it out in a simple way.
If you need a hand PM me and I will help set it up for you.