Hi I have had a client give me a site to host which is drupal. I am new to drupal here it what I did to get the site to show:

Installed Drupal with one click installation

Imported clients existing database

Ftped all the files.

When I do that I get a pressflow installation set up when I go to site url and then choose use existing database and then some upgrade thing comes up but it has errors but still shows me the site.

When i log into the admin panel and change anything it seems to break pages in there. I am thinking that maybe there are certain admin php files that I shouldn't overwrite but I am not sure since I am new to drupal.

Client was using fusion core and ubercart if that helps.

I know his site was made with older version of drupal I don't know how to tell which version it was made with though. Is there a way to determine that by looking at a specific file?

Comments

kruser’s picture

You probably shouldn't have done the one click install because pressflow is a modified version of drupal. I would start over and just install the press flow files and database first. Also if it's asking you to install, then that means your settings.php isn't configured correctly to point at the existing database.

The changelog.txt will tell you what version is in use.

-----------------------------------------------------
Bob @ Drupal Aid (https://www.drupalaid.com)

nufftalon’s picture

thanks its drupal 6.16 its using pressflow. When I try to change something in admin its as if it breaks the theme itself for the site. Its using fusion core theme. It does tell me after manual install of drupal 6.16 that something is wrong with pressflow.

kruser’s picture

You shouldn't do a manual install of Drupal 6.16, you need to install Pressflow which is a separate distribution of Drupal - http://pressflow.org/

-----------------------------------------------------
Bob @ Drupal Aid (https://www.drupalaid.com)

nufftalon’s picture

ohh. I didn't know that was that. I thought it was some kind of multisite plugin handler for drupal sites or something. Ok cool I will try to redo it and install pressflow 6.16 and see what happens. Thanks

nufftalon’s picture

Ok I took everything out dumped database uploaded all files to ftp including pressflow. Went to website url/install.php and installed pressflow. I import the database from the client. Then login to admin iIt says something is wrong with my pressflow installation. I make one little change to the main navigation menu and the it removes the styling on the site and breaks it. I don't understand what I am doing wrong. What kind of info can I give you that might be able to help you understand what I am doing wrong? I noticed the site is there when I manually type http://. It shows the correct site with the theme and everything. If I just type in the domain name it is going to https:// but I don't have an SSL certificate for this site yet. I know client needs it for the Sage payment gateway but is that affecting the site?

kruser’s picture

Sage shouldn't be effecting anything, I installed it for two clients recently and it works fine.
- is there a specific error message either on screen or in drupals logs?
- did you clear drupals cache?
- did you run update.php?
- is your tmp directory under the file system menu set correctly? And writable?
- check the status report page, are there any errors?

-----------------------------------------------------
Bob @ Drupal Aid (https://www.drupalaid.com)

nufftalon’s picture

I seem to have two errors on status report

CRON MAINTENANCE TASKS Last run 7 weeks 1 day ago
Cron has not run recently. For more information, see the online handbook entry for configuring cron jobs. You can run cron manually.

VARNISH STATUS Varnish connection broken
The Varnish control terminal is not responding at 127.0.0.1 on port 6082.

I haven't touched anything with cache. I did not run update.php. Forgive me I do not how to check tmp directory. Thanks for your help with this really appreciate it.

John_B’s picture

The whole situation sounds the kind of mess one can create by jumping in with Drupal without reading the docs and / or following some initial training. I often learn this way, albeit not on my clients's sites.

Since kruser is helping you, I will restrict myself to commenting on the Varnish error, as I have set up quite a few Varnish instances, and I use it on all my Drupal sites where I can. Pressflow probably includes the Varnish module (I have not looked recently, and the Varnish module is not absolutely required in order for Pressflow or Drupal 7 to take advantage of Varnish).

There is no point in using Pressflow unless you are running Varnish on your server. If you are running Pressflow and you DO want to use Varnish, and already have Varnish working on your server, you need to set up Drupal's Varnish module with the Varnish 'secret' API key, to cure this error. If you are not running Varnish on your server, you should install it (only if you know what you are doing with Varnish and have read the documentation - obviously if you get this wrong all sites on the server will go down or at least go buggy). If you decide not to use Varnish, but still have some reason for keeping Pressflow (which seems very unlikely) you should disable the Varnish module.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors

nufftalon’s picture

Thank you honestly I don't need pressflow. I mean whatever works is fine for me. At my job we have no other websites that are drupal on our servers. I guess my problem is I thought it would be an easy 1-2-3. If I did want to install drupal alone and the clients old site which has a shopping cart what steps do I need to take to do so? If I don't get this figured out I will have no choice but to redo his whole website using wordpress, but since he already has a website I am trying to avoid that.

John_B’s picture

The documentation on moving a site is here https://www.drupal.org/node/776864

Wordpress is way easier and cheaper to maintain for a client who wants an out-of-the-box setup. For a client who needs a lot of customisation, Drupal is easier and better. If it is a small (sub-$5000 and certainly if it a sub-$2000 site) personally I go for Wordpress. Migrating content on a large Drupal site to WP is hassle. I have done it twice. There are companies with scripts which do part of the work for you for a few hundred dollars, and they do get you part way there, but there is still a lot to think about unless it is a simple Drupal site.

When working with Drupal it is worth finding someone who knows what they are doing, unless you wish to spend some time learning, and Drupal skills are not cheap. Early on it is not going to make a profit. A year or two acquiring Drupal skills without making much money in the short term, makes it easier to make a living in the longer term in my experience.

Personally I would be tempted to stick the site on a 2GB RAM Linode (not a poor-quality VPS) set up for Drupal and including Varnish, or Drupal-specialist hosting which has Varnish. For non-logged-in users Varnish does contribute a lot, and with a Drupal site you need to give a bit of thought about how to keep it loading fast if your clients are interested in that. It is a lot tougher to host than Wordpress (I have done both, now I stick my Wordpress sites on fast generic shared hosting but I would not really risk doing that with a mid-sized Drupal site). If installing Varnish, note that there are some ready-to-go config files for Varnish 3 on the Net. I have not seen any for Varnish 4, which is no faster, and best avoided unless you are familiar with how to configure it.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors

nufftalon’s picture

Thank you. I will see what I can do and do more research into this. This is at my job so getting another server or hosting with Varnish isn't an option. Our plesk server where I have the site now does have a one click drupal installation, so it must support drupal to a certain extent. I really appreciate the help regarding this.

John_B’s picture

Our plesk server where I have the site now does have a one click drupal installation, so it must support drupal to a certain extent.

I agree it should be true. From experience I do not agree it is true. In addition, one-click Drupal installers give a lot of trouble and are not recommended here.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors

Jaypan’s picture

John is correct. You won't find any of us us recommending one-click installers. They are a nice shortcut at the start, but leave you with other issues you need to deal with in the long-run.