Back Door to Drupal?

pastordavid's picture

I think I carelessly shut off the Log In option using Admin instead of User and now I cannot get into my Web site to edit it! :-(

Access denied
You are not authorized to access this page.

I am guessing there is a back door.

If it is more appropriate please send me private mail.

Comments

Perhaps it would be easier

pastordavid's picture

Perhaps it would be easier for me to just save my source (only
one Page created and posted so far) and uninstall/reinstall Drupal
to force everything back to defaults?

I have not gotten so far in that this is impractical.

Yes, I know, I need a local textbed Drupal to experiment and
I need to be more careful where I make changes in the live install!

:-)

Blessings to all from sunny Florida!
http://firstbaptistchurchsh.com
Pastor David

Test install - stops hair loss :)

struesda's picture

Once you have your front page working. STOP and install another copy of drupal to a sub-directory (like public_html/testing). (make sure to create a separate database for this one)

Then you can go to yoursite.com/testing and try all kinds of things and only make the same changes to your main site once you KNOW they work.

Yes, after this experience,

pastordavid's picture

Yes, after this experience, I will do that asap!

BTW: Is this site running really slowly? Other sites do not appear to
run this slowly. It takes several minutes to get a new window in order
to reply to a post.

Thanks!

Blessings to all from sunny Florida!
http://firstbaptistchurchsh.com
Pastor David

Test Install/Work Area?

pastordavid's picture

I am awaiting word that an add-on has been posted for LAMP or XAMPP
for Puppy Linux so I may test locally and not harm the live site.

Meanwhile, I am returning to the possibility of testing on the live server
without harming the live site.

Can you be a little more specific about what and what I cannot do with
the /public_html/testing folder?

Also, using CPanel are there any gotcha's to creating a separate database?

I was listening to Geeks&God and they referenced the Zen theme. Despite
my theological misgivings about "Zen" I like the concept of a thoroughly
documented css theme.

In their "Getting started Drupal 5.x" instructions they list two steps and in
the second three possible locations for the Zen theme:

  1. Download Zen from http://drupal.org/project/zen
  2. Unpack the downloaded file and place the zen folder in your Drupal installation under one of the following locations:
    * sites/all/themes (making it available to all Drupal sites in a mult-site configuration)
    * sites/default/themes (making it available to only the default Drupal site)
    * sites/example.com/themes (making it available to only the example.com site if there is a sites/example.com/settings.php configuration file)

Is "sites/example.com/themes" another work-area which will not impact the
live site?

Blessings to all from sunny Florida!
http://firstbaptistchurchsh.com
Pastor David

installation to sub-folders

struesda's picture

What add-in are you waiting for?

I've got several test drupal installations running in sub-folders with no problem. My host also uses cPanel and creating multiple databases is also not a problem.

The only issue is that if I log into one of my sites - it messes up the login to the other subdirectory versions (probably because the session handling thinks both installations are trying to use one session - since it is on the same domain).

But since I'm not logged onto both at the same time most of the time it is not a problem.

For our theme ( http://www.gracecommunity.ws ) - I actually started with a design that a designer gave us - and added in the drupal parts as needed - and then used firebug/firefox to fine-tune the CSS.

> What add-in are you

pastordavid's picture

What add-in are you waiting for?

LAMP or XAMPP for my laptop so I may do testing on-the-fly.

I've got several test drupal installations running in sub-folders with no problem. My host also uses cPanel and
creating multiple databases is also not a problem.

OK, will give it a try!

The only issue is that if I log into one of my sites - it messes up the login to the other subdirectory versions >(probably because the session handling thinks both installations are trying to use one session - since it is on the >same domain). But since I'm not logged onto both at the same time most of the time it is not a problem.

I ran into that already - will be watchful!

For our theme ( http://www.gracecommunity.ws ) - I actually started with a design that a designer gave us - and >added in the drupal parts as needed - and then used firebug/firefox to fine-tune the CSS.

I am into the Geeks&God podcasts and have started to learn CSS.

Blessings to all from sunny Florida!
http://firstbaptistchurchsh.com
Pastor David

Not sure what you mean by an

dnewkerk's picture

Not sure what you mean by an add-on being posted for LAMP or XAMPP... supposing you use Windows on your own home computer, what you need to do is install either WAMP or XAMPP (or another windows-based (x)AMP package if you find one you prefer). If you use a Linux computer at home, then you would likely already have all the necessary components installed by default (though they might require some configuration). The local development environment is to install Drupal on your home computer and work with it directly and rapidly (no uploading, tedious backups, etc)... if you develop a whole site locally you can also upload its files and do a simple mysql import command on the live server to put your local site up on the internet.

So far as making a work-area on the live server... I've heard of people doing this using Drupal's multi-site abilities. Configuration for this is not necessarily easy though (check the Drupal handbook for some walk-throughs related to CPanel). You could also just install a completely separate copy of Drupal, with its own separate files and database, using a sub-domain (such as dev.yoursite.com), which should be pretty simple.

The theme paths you reference above are in relation to using Drupal's multi-site abilities (where you place the theme determines whether the theme would be made available to all the sites, or just a certain one). Not to do with mult-sites, but you can always set a certain theme to "your own account's default" (still showing the regular default theme to everyone else) so that you can develop a new theme on your live site, which only you can see until you make it the new default. You can make this setting in your Account area.

In regard to the Zen theme's name... it is just a reference to the CSS Zen Garden concept, where the power of CSS to drastically change the look of a site without changing a single line of HTML has been demonstrated for many years and helped popularize and push forward the use of CSS. It doesn't bear any philosophical meaning in this case. They borrowed the word Zen for the theme since that was their goal - to make a Drupal theme with all the right underlying HTML and CSS framework to allow it to be re-themed visually with just CSS and little to no modification to the HTML (though in practice this is still necessary, once you begin wanting to theme very specific things like Views or other custom things).

If I understood what someone

pastordavid's picture

If I understood what someone told me about a local (laptop or desktop) installation of Drupal for testing then I need to load LAMP or XAMPP because I use Linux.

The specific Linux distro I use is called Puppy Linux.

In an effort to make the distro more friendly apps (add-ons/add-ins) are packaged in what is called a PUP file format. The PUP format handles all of the steps in the installation - so a user merely needs to download the desired PUP and click on it and the rest is automated.

So, what I am awaiting is for one of the Puppy folks to make a PUP file for me to download that contains either LAMP or XAMPP.

Once I have that I will be able to experiment with modules and themes and CSS hacking, etc. wherever I have my
laptop.

In the meanwhile I will add a second Drupal installation to a subfolder on the server along with a separate database
and get about making a mess of that as I learn-by-doing.

BTW: The Geeks&God series is very helpful!

A blessed CHRIST-mas to all!
http://firstbaptistchurchsh.com
Pastor David

Huh?

mfer's picture

I'm not sure what you mean here. Can you please be more descriptive?

Have you tried going to http://example.com/?q=user

This should bring up a login screen. Don't forget to change example.com to your domain.

Matt Farina
www.innovatingtomorrow.net
www.geeksandgod.com
www.mattfarina.com

THAT WORKED ...

pastordavid's picture

THAT WORKED ... THANKS!!!

Blessings to all from sunny Florida!
http://firstbaptistchurchsh.com
Pastor David