I'm new to drupal and removed all traces of drupal and wampserver but when i reinstall drupal a old site comes up that a past student did. I'm thinking that its on their system and it is still linked to the pc but i'm logged in as admin and unable to locate the files. Any suggestions?

Comments

VM’s picture

when you reinstall drupal are you doing so on a live server or on your localmachine?
did you reinstall wamp?

did you ensure that you dropped the old databse in MySQL?

brainajw’s picture

Everything was installed fresh. I dont have any databases showing up in MySQL, and i'm not sure what the old database was called. i feel like such a nobe.

VM’s picture

sounds like some old files were left beind somehere. If there are no databases showing in MySQL how is the new site installed?

wampserver may store some files/folders outside of it's own folder.

brainajw’s picture

I went in and removed the databases that wampserver had and it wouldn't work anymore so i reinstalled so the only 2 databases showing are information_schema (28) and mysql (23) which neither have anything to do with the old drupal site.

i just started using drupal today so i'm confused. i'm going to try on my pc when i get back as i'm interning right now and have to get this all figured out.

brainajw’s picture

the site i keep seeing thats coming up is rocktreesky. www.drupaltest.org/

VM’s picture

That is a live site somewhere on a server in house or a paid hosting service. WAMP wouldn't have anything to do with that. With WAMP you browse to http://localhost to see the site in development on the localmachine.

brainajw’s picture

ok. well then how would i set up drupal if i can't access the drupaltest.org site other than getting to that rocktreesky site. i'm so confused and unsure what to do. i've been looking online and haven't come across anything

VM’s picture

no idea wha you will do to get access to drupaltest.org, are you sure the company you are interning for even owns it?

to install drupal on your local machine for development you install WAMP, add drupal and call the install in your browser. Don't call drupaltest.org. You won't be able to do anything with that domain until you do some research (whois) into where it's stored and how to get access to the server it's stored on. May want to contact the previous employee.

There is quite a bit of documentation that can be located here on drupal.org via it's search or google for installing WAMP. one such walkthrough = http://www.rundrupal.com/tutorials/how-install-drupal-tutorial

Install WAMP
add your drupal files to the public_root of WAMP
make a copy of default.settings.php
rename the copy settings.php
call http://localhost/ in your browser or localhost/drupalfolder (if drupal is in a subdirectory) and the install will begin.

brainajw’s picture

That site has great information. I followed the steps and yet i'm receiving this error as i try to get into the main page.

Deprecated: Function ereg() is deprecated in C:\wamp\www\mysite\includes\file.inc on line 902

VM’s picture

which means you are using PHP 5.3 in your WAMP set up and should likely roll back to the last version of PHP 5.2.x

in your task bar click on the wamp icon, navigate to php, then to more versions or some such.

brainajw’s picture

I was able to find a solution online which was:
Solution of Deprecated: Function ereg() is deprecated in lamp/www/drupal/includes/file.inc on line 902
error..
There are two solution for this..
1. Downgrade lamp to previous version
or
2. Edit php source file of drupal.
I prefer to choose second solution since I love to learn new thing :-)
I have tried a few php function like preg_replace() and mb_ereg()
After test each function I think mb_ereg() is good solution.

Go to www/drupal/includes/file.inc
open file.inc
Search for elseif ($depth >= $min_depth && ereg($mask, $file))
Edit above line by elseif ($depth >= $min_depth && mb_ereg($mask, $file))

I did the second part and it worked out great. Thanks for your help!