I'm locked out of my site. I was using the AutoTheme admin panel to set AutoURLs. Now all of the links on my site are calling for pages that end in name-whatever_module.phtml So when I type in my administrative user name and password, the site looks for a page that ends in phtml, but all of the files in my directory end in PHP or HTML. So the only page I can access from my site is a 404 Not Found error page. How do I gain entry back into my site's administration panel?
For reference, I was trying to follow the AutoURL steps on this website: http://spidean.mckenzies.net/modules/AutoTheme/docs/at17_user_guide_eng.html#_Toc80948611
AutoURLs
This Extra requires the Apache web server with mod_rewrite enabled and one of the included .htaccess files present in your CMS root directory. AutoURLs converts URLs on your site into shorter URLs that are friendlier and search engine optimized.
You can choose the extension that is used for the new URLs. Choose the appropriate .htaccess file from: “htm.htaccessâ€, “html.htaccess†or “phtml.htaccess†and rename it to “.htaccess.â€
I've searched for an answer, but couldn't find anything comprehensive enough for a noob like me. Please help!
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
HELP! AutoURLs have LOCKED ME OUT OF MY SITE!!!
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Dec 29, 2005
- Posts: 6
Nevermind. I solved the problem. For those of you that are as dumb as I am, here's the fix:
1. Follow this path in your PostNuke directory:
HTML\modules\AutoTheme\extras\postnuke
2. Open the autourls.ext.php file in a text editor.
3. Locate the following strings:
$replace = array (
'"changelang-$1.'.$autourlsext.'"',
'"changetheme-$1.'.$autourlsext.'"',
'"index.'.$autourlsext.'"',
'"user.'.$autourlsext.'"',
4. Change the part in red to user.php.
5. Now you can log back into your site, go into the AutoThemes administration panel, then go into the Extras section to turn the AutoURLs off or properly set their extension using the Configuration link.
6. Now you should go back into the autourls.ext.php file in your text editor and set user.php back to user.'.$autourlsext.'.
Not too bad for a complete noob, I guess.... :D -
- Rank: Helper
- Registered: Jan 12, 2004
- Last visit: Jan 20, 2010
- Posts: 590
Hello,
just in case anybody else has this problem, you must understand short urls don't prevent long urls from working.
So just typing in your browser:
http://your_site_url/index.php
http://your_site_url/user.php?op=loginscreen&module=User
http://admin.php?module=AutoTheme
or any other URL will bring you to the proper place without editing any file.
--
Visit my live reef aquarium.
My Amazon wish list. -
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
I don't know about AutoTheme, but Xanthia doesn't rewrite administration urls, so you can still access your administration interface through links on your site even with shortURLs broken.
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide -
- Rank: Developer
- Registered: Feb 23, 2005
- Last visit: May 09, 2010
- Posts: 399
Also, unless you are totally determined to do it the hard way :) you could aways get into you site with:
http://www.YOURSITE.COM/user.php?module=NS-User&op=login&uname=YOURUSERNAME&pass=YOURPASS&URL=index.php
It's neat to have that in your bookmarks, Saves few key strokes and mouse movements. :)
- Moderated by:
- Support
