Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorCranial
    • CommentTimeSep 27th 2005
     # 1
    I successfully installed Vanilla under my domain. That domain also has three WP blogs, the top level one is cranialcavity.net.

    As installed and when clicking the "discussions" tab it redirects to my top level blog vice Vanila discussion. The URL when redirected is cranialcavity.net/vanilla.

    When I manually add /index.php in the browser (ie cranialcavity.net/vanilla/index.php) it will correctly call up the discussions page.

    I checked the settings page and .php file and they both contain the /index.php section. What do I need to edit to correct this problem.

    On a secondary problem: I also installed Vanilla on my home box. (to play with CSS etc offline) It was manually installed and as a result It never requested the entery of a name and password for me as the administrator.

    Any ideas on how to correct this?

    Thanks Marc
  1.  # 2
    I dont quite understand your first problem, but as for the second, i think you just have to create an account as a normal user as you would if you were joining the forum then go into your database and change the role number to 6 (or whatever's admin in your case)
    • CommentAuthorCranial
    • CommentTimeSep 28th 2005 edited
     # 3
    Lets see if I can clarify the first problem.

    Under the discussions tab the URL is cranialcavity.net/vanilla, when it should read "cranialcavity.net/vanilla/index.php" As a result when clicked on it opens the index page on my blog vice Vanilla. (The blog index is "cranialcavity.net/wordpress/index.php" and Vanilla is installed under "cranialcavity.net/vanilla")

    The same occurs when logging in, it directs to my blog index vice Vanilla. I can manually add the suffice (/index.php) and it opens the correct page, but obviously this is a problem for everyone but me.

    Under applications settings both "Web-path to Vanilla" and "Cookie domain" are set to "cranialcavity.net/vanilla/index.php"

    Under the other tabs (Categories Search etc) the path seems to be correct and directs to the proper page.

    Hope this is a little more understandable.

    Thanks
  2.  # 4
    ahh, i get it. unfortunately i dont have time to find a solution. if noone else has then remind me later.

    I really need that 'mark as unread' feature..
    • CommentAuthorCranial
    • CommentTimeSep 28th 2005
     # 5
    Not a problem. There is no hurry, the forum is far, far from the time it will "go active."

    I'll post an update in a few days or if I discover a solution myself.

    Thanks
  3.  # 6
    Right, try opening appg/init_internal.php and finding the
    //BUILD THE MAIN MENU
    Below that is where it adds all the tabs - the first being discussions:
    $Menu->AddTab($Context->GetDefinition("Discussions"), "discussions", "./", "DiscussionsTab");

    Try changing that to:
    $Menu->AddTab($Context->GetDefinition("Discussions"), "discussions", "index.php", "DiscussionsTab");
    • CommentAuthorCranial
    • CommentTimeSep 29th 2005 edited
     # 7
    OK, one problem solved. The discussions tab is correct but their is still an issue when going from the sign in page.

    After signing in it directs me to the following URL: "cranialcavity.net/vanilla" What displays is my blog on that domain. ("cranialcavity.net")

    When it should be "cranialcavity.net/vanilla/index.php"

    I guess my biggest question is why both of these seemingly related problems occured? The install was done automaticlly, BTW

    Does Vanilla create an .htacces file? If so it must be buried somewhere I couldn't find it.

    Thanks for your prior help
    •  
      CommentAuthorlech
    • CommentTimeSep 29th 2005
     # 8
    In your settings.php, is the path to the forum correct? you may want to check it, it should look something like this:

    line 30:
    define("agDOMAIN", "cranialcavity.net/vanilla/");

    that should fix it from going to the wrong area upon sucessful login.
  4.  # 9
    lech would the trailing slash alter how that link was used? It just struck me he's using the cookie domain of cranialcavity.net/vanilla/index.php which is probably better as .cranialcavity.net/vanilla/ but that has nothing to do with the problem we're discussing anyway so i'm not sure why i brought it up.

    Anyway, would that slash make it consider the folder? It seems at the moment it's avoiding vanilla for some reason to do with his blog in which case he might have to go code hacking again...?
    •  
      CommentAuthorlech
    • CommentTimeSep 29th 2005 edited
     # 10
    the trailing slash would throw it into or out of the proper directory depending on how it's being called. for example without the trailing slash it might look something like:

    crainialcavity.net/vanillaindex.php

    instead of the slash being there to form the proper directory structure. else it would throw a 404 or land you outside your intended destination. that is if I'm reading all of this right (sorry tired as hell). typically the trailing slash (depending on the nature) is a good thing.
  5.  # 11
    hmm.. indeed. You wanna try adding those trailing slashes and changing your paths like lech has suggested and see if that helps, cranial?
    •  
      CommentAuthorlech
    • CommentTimeSep 29th 2005
     # 12
    back up your current files and only tamper with the /appg/ folder for best results, you really shouldn't have to modify anything outside of the /appg/ unless it's a do or die operation.
    • CommentAuthorCranial
    • CommentTimeSep 29th 2005
     # 13
    Here is the entire section from settings.php. You would think because the entire URL is desinated the problem shouldn't exsist, obviously not true.

    // Application Settings
    define("agAPPLICATION_TITLE", "Full Throttle Forum");
    define("agBANNER_TITLE", "Full Throttle Forum");
    define("agDEFAULT_STYLE", "styles/vanilla/");
    define("agDOMAIN", "cranialcavity.net/vanilla/index.php");
    define("agSAFE_REDIRECT", "signin.php?PageAction=SignOut");
    define("agDISCUSSIONS_PER_PAGE", "30");
    define("agDISCUSSIONS_PER_FEED", "20");
    define("agCOMMENTS_PER_PAGE", "50");
    define("agSEARCH_RESULTS_PER_PAGE", "30");
    define("agCOOKIE_DOMAIN", "cranialcavity.net/vanilla/index.php");
    define("agSUPPORT_EMAIL", "marc@cranialcavity.net");
    define("agSUPPORT_NAME", "Marc");
    define("agALLOW_NAME_CHANGE", "1");
    define("agPUBLIC_BROWSING", "1");
    define("agUSE_CATEGORIES", "1");
    define("agLOG_ALL_IPS", "0");
  6.  # 14
    I'm surprised that hasnt been causing problems actually.
    Try changing it to cranialcavity.net/vanilla/
    And change your cookie domain to .cranialcavity.net
    • CommentAuthordeel
    • CommentTimeSep 29th 2005 edited
     # 15
    mine is set to "www.mydomain.com/vanilla/"

    does it need the"www"?
    •  
      CommentAuthorKrak
    • CommentTimeSep 29th 2005
     # 16
    I think the WWW depends on the way your server is setup. Some servers/domains dont care about it. Some will automatically forward and add the WWW, others forward and drop the WWW. Some dont work at all unless you add it. Im not a server expert, thats just what Ive noticed.

    Like my server, sometimes I have issues with things unless I add it.
    • CommentAuthorCranial
    • CommentTimeSep 29th 2005
     # 17
    Try changing it to cranialcavity.net/vanilla/
    And change your cookie domain to .cranialcavity.net
    Sorry no luck, the above settings had no effect even after a hard refresh.
  7.  # 18
    Well the cookie domain thing wouldnt - its just a semi bugfix for anyone who's having cookie problems (which might not be you but might be one of your users)
    That really is rather odd if the path doesnt work. You certainly shouldnt need the index.php reference in there. Remind me when i get home and i'll find out what you need to change to force it to use index after signin.

    deel - depending which definition is set to that, it probably doesnt make a difference. If it aint broke dont fix it.
    • CommentAuthorCranial
    • CommentTimeSep 30th 2005
     # 19
    Not a problem, thanks for all your hard work.

    BTW there are no users at the moment. I just installed the program and will be working out whatever issues there are before "going live." That would include possibly waiting for the next upgrade which apparently includes a type of theming system.
  8.  # 20
    Can i take it from that that your sign in still isnt working properly?
    •  
      CommentAuthorlech
    • CommentTimeSep 30th 2005
     # 21
    for define("agDOMAIN", "cranialcavity.net/vanilla/index.php"); take out the index.php

    restore everything else in the /appg folder except your settings.php.
    • CommentAuthorCranial
    • CommentTimeSep 30th 2005
     # 22
    lech I have tried both:

    "agDOMAIN", "cranialcavity.net/vanilla/index.php"

    and

    "agDOMAIN", "cranialcavity.net/vanilla/"

    With no change, signin is still misdirected.

    By "restore evertthing.... do you mean up load fresh copies of all files in /aapg folder?
    •  
      CommentAuthorlech
    • CommentTimeSep 30th 2005
     # 23
    yes, just save the settings.php and restore everything else as new.
    •  
      CommentAuthorlech
    • CommentTimeSep 30th 2005
     # 24
    do make backups however in case you do need to redo whatever else again.
    • CommentAuthorCranial
    • CommentTimeSep 30th 2005
     # 25
    No luck Lech, here is what was done.

    Deleted the /appg folder and uploaded fresh from the original download of Vanilla.
    In /appg/settings.php is this line
    "agDOMAIN", "cranialcavity.net/vanilla/"

    Under applications settings Web-path to Vanilla is "cranialcavity.net/vanilla/
    cookie domin is set to "cranialcvity.net"

    When signing in it still directs me to "cranialcavity.net/vanilla" (note no ending slash) What is displayed is my blog index page showing the header img and no data.

    Is it possible because Vanilla is installed directly under cranialcavity.net vice a sub-domain (vanilla.cranialcavity.net) that is causing the problem?
    •  
      CommentAuthornathan
    • CommentTimeSep 30th 2005
     # 26
    It shouln't, as I have it intalled in a sub-domain. Lech said DON'T delete the setting file. I think you did, so I just want to make sure that you restored all the changes Lech and Mini have asked you to make. Just need to be sure.
    • CommentAuthorCranial
    • CommentTimeOct 1st 2005
     # 27
    Nathan:

    No I left the settings.php in the folder and deleted the rest. And backed up the entire folder for that matter.
    •  
      CommentAuthornathan
    • CommentTimeOct 1st 2005
     # 28
    ah.

    I'm not sure what else to suggest. Sorry.

    I'm glad you backed it all up though. Good move.
    •  
      CommentAuthorlech
    • CommentTimeOct 1st 2005
     # 29
    yeah, I have no idea what could possibly be misfiring there, if the cookie domain and the path are right and it's still screwing up like that, the only thing I can think of is your php or server are acting against you. so unless I'm missing something in this little scenario, I can't tell what the exact problem is.

    From the looks of it on your domain, you have some kind of custom 404 running there that redirects all queries to some search results page. Did you install vanilla manually or with the installer? if you wouldn't mind, I would say dump all the mysql tables for vanilla, and try starting from scratch and for the meanwhile disable that funky 404. If that's a wordpress thing enabled to trap queries, you could be missing important error messages.

    If you're still having trouble, feel free to whisper your aim/icq/msn/whatever address to me and I'll see if I can help you further if you're still having problems, because right now I can't pinpoint what's going on exactly.
  9.  # 30
    Hold on, you say you installed it on a subdomain; so have you tried using vanilla.cranialcavity.net/ as the paths?
    •  
      CommentAuthornathan
    • CommentTimeOct 1st 2005
     # 31
    although, the web accessible path COULD still be, cranialcavity.net/vanilla.
    •  
      CommentAuthorlech
    • CommentTimeOct 1st 2005
     # 32
    agdomain should just be domain.com/pathtovanilla/ with the trailing slash as most webservers will interpret anything called after it as a combined directory request ie pathtovanillaindex.php and so on.
    • CommentAuthorCranial
    • CommentTimeOct 1st 2005 edited
     # 33
    No minesweeper I just questioned whether not having Vanilla on a sub domain may have caused the problem. It is installed directly under the main domain (cranialcavity.net/vanilla).

    Vanilla was installed via the auto installer.

    As far as the funky 404? No clue, if it's there it was done automaticlly somewhere along the line. Possible considering three blogs are installed and all have been consistently upgraded as the WP software has been.

    Add to that the many spam plugins etc, etc.

    I'll have a peak at the .htaccess files and let you guys know

    Thanks.

    Update: Just finished checking my .htaccess file. I see no mention of any 404 redirects. The only thing close was a funky bit of code for trackback spam. I deleted that but it had no effect on the current problem.

    It may take a few hours to get to it, but I think I'll delete all the tables and start with a fresh install.

    Thanks again.
    •  
      CommentAuthorlech
    • CommentTimeOct 1st 2005
     # 34
    Well, you definatly have some type of page that's redirecting all queries to itself and pointing it back to something within wordpress. At least that's what I gather it's that "bad behavior" plugin as well as whatever else might be running as your search engine collecting those queries. I honestly don't know what you're running there but that's what's being hinted from the looks of it.
Add your comments
    Username Password
  • Format comments as