Re: [PHP] Need help Wth PHP

2011-10-10 Thread Lester Caine

Rod Lindgren wrote:

Thanks for the link. I am now wondering if Wordpress is available on my
server.
If it's not, you can add it yourself in much the same way you uploaded the 
'profile' for the wordpress site ... http://wordpress.org/download/
Essentially it is just another PHP application, but you do need the database 
that goes with the original site.


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Need help Wth PHP

2011-10-10 Thread Rod Lindgren
I was able to install Wordpress, but how do I identify the database from the
original site? Do I need to change some settings in it somewhere with the
authorizations from the new install on the new server? Right now, if you go
to the website, a generic page created by the install comes up. I seem to
have lost the original page. 

Thanks,
Rod

-Original Message-
From: Lester Caine [mailto:les...@lsces.co.uk] 
Sent: Sunday, October 09, 2011 11:31 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Need help Wth PHP

Rod Lindgren wrote:
 Thanks for the link. I am now wondering if Wordpress is available on my
 server.
If it's not, you can add it yourself in much the same way you uploaded the 
'profile' for the wordpress site ... http://wordpress.org/download/
Essentially it is just another PHP application, but you do need the database

that goes with the original site.

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Need help Wth PHP

2011-10-10 Thread Lester Caine

Rod Lindgren wrote:

I was able to install Wordpress, but how do I identify the database from the
original site? Do I need to change some settings in it somewhere with the
authorizations from the new install on the new server? Right now, if you go
to the website, a generic page created by the install comes up. I seem to
have lost the original page.


On the original host, there would be a mysql database in addition to the 
'website' and it is that which you need to copy over. This is where it gets fun 
as there is no one way of doing it and it depends on the hosts way of providing 
mysql databases :(


( I don't use mysql at all myself, but someone should be able to direct you to 
the right way of doing it )


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Need help Wth PHP

2011-10-10 Thread Jeffrin Jose
there is a file called wp-config.h  in wordpress files mostly located 
in the source parent there you can see the database name , username
and password. that file also may contain the site url. This way you may
be able to identify the database from the original site. 

If you do not have wordpress in your new server you may be able
to install it using cpanel application..


 
software engineer
department of computer science
Rajagiri school of engineering and technology.



From: Rod Lindgren r...@okinawa-te.info
To: 'Lester Caine' les...@lsces.co.uk; php-general@lists.php.net
Sent: Monday, 10 October 2011 1:37 PM
Subject: RE: [PHP] Need help Wth PHP

I was able to install Wordpress, but how do I identify the database from the
original site? Do I need to change some settings in it somewhere with the
authorizations from the new install on the new server? Right now, if you go
to the website, a generic page created by the install comes up. I seem to
have lost the original page. 

Thanks,
Rod

-Original Message-
From: Lester Caine [mailto:les...@lsces.co.uk] 
Sent: Sunday, October 09, 2011 11:31 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Need help Wth PHP

Rod Lindgren wrote:
 Thanks for the link. I am now wondering if Wordpress is available on my
 server.
If it's not, you can add it yourself in much the same way you uploaded the 
'profile' for the wordpress site ... http://wordpress.org/download/
Essentially it is just another PHP application, but you do need the database

that goes with the original site.

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





RE: [PHP] Need help Wth PHP

2011-10-10 Thread Jen Rasmussen
If I remember this correctly ... 

The database information can be setup/modified only with the
install/reinstall. 
If the DB's are moving to a new server, You have to copy out the databases
directly from the DB manager and then do a fresh install of WP. 
You should also copy out any custom theme css .. 

When you go through the installation process, you can specify your new DB
access info and then once installed and theme selected, 
copy in the archived CSS from the old install. It's a bit tricky. 

I'm trying to direct you to the correct process based on memory from when
I've had to do in the past,
so apologies if it's a bit spotty but it is definitely more of a manual than
automated process.

1. Backup DB's directly from old DB manager (i.e. MySQL or other)
2. Archive custom theme css if applied
3. Export posts from old WP install admin as a safety measure 
4. New install of WP at new URL 
4. Specify new server DB access info and new WP and site URL's during new
install
5. Apply appropriate theme and update any custom css with archived css from
old install.

I hope that helps... not saying this is the only way if there is other
advice to be offered, but this is what has worked for me. 

Jen


-Original Message-
From: Rod Lindgren [mailto:r...@okinawa-te.info] 
Sent: Monday, October 10, 2011 3:08 AM
To: 'Lester Caine'; php-general@lists.php.net
Subject: RE: [PHP] Need help Wth PHP

I was able to install Wordpress, but how do I identify the database from the
original site? Do I need to change some settings in it somewhere with the
authorizations from the new install on the new server? Right now, if you go
to the website, a generic page created by the install comes up. I seem to
have lost the original page. 

Thanks,
Rod

-Original Message-
From: Lester Caine [mailto:les...@lsces.co.uk] 
Sent: Sunday, October 09, 2011 11:31 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Need help Wth PHP

Rod Lindgren wrote:
 Thanks for the link. I am now wondering if Wordpress is available on my
 server.
If it's not, you can add it yourself in much the same way you uploaded the 
'profile' for the wordpress site ... http://wordpress.org/download/
Essentially it is just another PHP application, but you do need the database

that goes with the original site.

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Need help Wth PHP

2011-10-10 Thread Jen Rasmussen
Ok, scratch the db info can only be setup/modified with
install/reinstall..
Forgot about wp-config.php ...doh!

Otherwise, you still need to backup the DBs from old server manually and
move them
to the new DB manager. I believe I did a fresh install because you also have
to update the URL settings in WP admin and I think I just found it easier
and less confusing
to do it the way I recommended.

Whoops ..good luck! 
Jen


-Original Message-
From: Jen Rasmussen [mailto:j...@cetaceasound.com] 
Sent: Monday, October 10, 2011 8:32 AM
To: r...@okinawa-te.info; php-general@lists.php.net
Subject: RE: [PHP] Need help Wth PHP

If I remember this correctly ... 

The database information can be setup/modified only with the
install/reinstall. 
If the DB's are moving to a new server, You have to copy out the databases
directly from the DB manager and then do a fresh install of WP. 
You should also copy out any custom theme css .. 

When you go through the installation process, you can specify your new DB
access info and then once installed and theme selected, 
copy in the archived CSS from the old install. It's a bit tricky. 

I'm trying to direct you to the correct process based on memory from when
I've had to do in the past,
so apologies if it's a bit spotty but it is definitely more of a manual than
automated process.

1. Backup DB's directly from old DB manager (i.e. MySQL or other)
2. Archive custom theme css if applied
3. Export posts from old WP install admin as a safety measure 
4. New install of WP at new URL 
4. Specify new server DB access info and new WP and site URL's during new
install
5. Apply appropriate theme and update any custom css with archived css from
old install.

I hope that helps... not saying this is the only way if there is other
advice to be offered, but this is what has worked for me. 

Jen


-Original Message-
From: Rod Lindgren [mailto:r...@okinawa-te.info] 
Sent: Monday, October 10, 2011 3:08 AM
To: 'Lester Caine'; php-general@lists.php.net
Subject: RE: [PHP] Need help Wth PHP

I was able to install Wordpress, but how do I identify the database from the
original site? Do I need to change some settings in it somewhere with the
authorizations from the new install on the new server? Right now, if you go
to the website, a generic page created by the install comes up. I seem to
have lost the original page. 

Thanks,
Rod

-Original Message-
From: Lester Caine [mailto:les...@lsces.co.uk] 
Sent: Sunday, October 09, 2011 11:31 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Need help Wth PHP

Rod Lindgren wrote:
 Thanks for the link. I am now wondering if Wordpress is available on my
 server.
If it's not, you can add it yourself in much the same way you uploaded the 
'profile' for the wordpress site ... http://wordpress.org/download/
Essentially it is just another PHP application, but you do need the database

that goes with the original site.

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Need help Wth PHP

2011-10-10 Thread Rod Lindgren
Thanks for the info. Very helpful. I am working on it. 

What is it that makes Wordpress valuable? The website in question is really
pretty basic. I am trying to figure out the reason Wordpress was used. 

Rod

-Original Message-
From: Jen Rasmussen [mailto:j...@cetaceasound.com] 
Sent: Monday, October 10, 2011 6:37 AM
To: r...@okinawa-te.info; php-general@lists.php.net
Subject: RE: [PHP] Need help Wth PHP

Ok, scratch the db info can only be setup/modified with
install/reinstall..
Forgot about wp-config.php ...doh!

Otherwise, you still need to backup the DBs from old server manually and
move them
to the new DB manager. I believe I did a fresh install because you also have
to update the URL settings in WP admin and I think I just found it easier
and less confusing
to do it the way I recommended.

Whoops ..good luck! 
Jen


-Original Message-
From: Jen Rasmussen [mailto:j...@cetaceasound.com] 
Sent: Monday, October 10, 2011 8:32 AM
To: r...@okinawa-te.info; php-general@lists.php.net
Subject: RE: [PHP] Need help Wth PHP

If I remember this correctly ... 

The database information can be setup/modified only with the
install/reinstall. 
If the DB's are moving to a new server, You have to copy out the databases
directly from the DB manager and then do a fresh install of WP. 
You should also copy out any custom theme css .. 

When you go through the installation process, you can specify your new DB
access info and then once installed and theme selected, 
copy in the archived CSS from the old install. It's a bit tricky. 

I'm trying to direct you to the correct process based on memory from when
I've had to do in the past,
so apologies if it's a bit spotty but it is definitely more of a manual than
automated process.

1. Backup DB's directly from old DB manager (i.e. MySQL or other)
2. Archive custom theme css if applied
3. Export posts from old WP install admin as a safety measure 
4. New install of WP at new URL 
4. Specify new server DB access info and new WP and site URL's during new
install
5. Apply appropriate theme and update any custom css with archived css from
old install.

I hope that helps... not saying this is the only way if there is other
advice to be offered, but this is what has worked for me. 

Jen


-Original Message-
From: Rod Lindgren [mailto:r...@okinawa-te.info] 
Sent: Monday, October 10, 2011 3:08 AM
To: 'Lester Caine'; php-general@lists.php.net
Subject: RE: [PHP] Need help Wth PHP

I was able to install Wordpress, but how do I identify the database from the
original site? Do I need to change some settings in it somewhere with the
authorizations from the new install on the new server? Right now, if you go
to the website, a generic page created by the install comes up. I seem to
have lost the original page. 

Thanks,
Rod

-Original Message-
From: Lester Caine [mailto:les...@lsces.co.uk] 
Sent: Sunday, October 09, 2011 11:31 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Need help Wth PHP

Rod Lindgren wrote:
 Thanks for the link. I am now wondering if Wordpress is available on my
 server.
If it's not, you can add it yourself in much the same way you uploaded the 
'profile' for the wordpress site ... http://wordpress.org/download/
Essentially it is just another PHP application, but you do need the database

that goes with the original site.

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http

Re: [PHP] Need help Wth PHP

2011-10-10 Thread Paul M Foster
On Mon, Oct 10, 2011 at 03:58:31PM -0700, Rod Lindgren wrote:

 Thanks for the info. Very helpful. I am working on it. 
 
 What is it that makes Wordpress valuable? The website in question is really
 pretty basic. I am trying to figure out the reason Wordpress was used. 

It allows the site owner to directly modify the site, without having to
call a programmer or web developer.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Need help Wth PHP

2011-10-10 Thread Rod Lindgren
I see. There are other ways to do this. If I knew how it works, maybe I
could get this site working. I am missing some essential concept here.

-Original Message-
From: Paul M Foster [mailto:pa...@quillandmouse.com] 
Sent: Monday, October 10, 2011 7:00 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Need help Wth PHP

On Mon, Oct 10, 2011 at 03:58:31PM -0700, Rod Lindgren wrote:

 Thanks for the info. Very helpful. I am working on it. 
 
 What is it that makes Wordpress valuable? The website in question is
really
 pretty basic. I am trying to figure out the reason Wordpress was used. 

It allows the site owner to directly modify the site, without having to
call a programmer or web developer.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Need help Wth PHP

2011-10-10 Thread Govinda
 I see. There are other ways to do this. If I knew how it works, maybe I
 could get this site working. I am missing some essential concept here.

Rod, 

this list is about/using PHP especially.  There are better lists/forums for 
getting help with frameworks built from PHP, like e.g. wordpress.
I think you are just going to have to start from the beginning and learn 
wordpress as if from scratch, if you choose to stay in that environment.  As 
you study, you'll breeze through where you already know.. and discover (more 
slowly) where are the holes in your understanding, that you need.

Besides finding a suitable forum/list, just doing searches on Google will 
undoubtedly yield the answers you want, too.

-Govinda


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Need help Wth PHP

2011-10-09 Thread James Yerge
On 10/09/2011 08:41 PM, Rod Lindgren wrote:
 I have a hosting account and am trying to get a friend's website up and
 running. We downloaded his existing site from his current host and uploaded
 it to my host. It is currently under a subdomain, www.egypt.aragren.com
 http://www.egypt.aragren.com/ . When I go there, I get an error message
 that says, Error establishing a database connection. What causes this and
 how can I fix it? 


  

 Sensei Rod Lindgren

  

 Sent from my Gateway computer

  

  


This issue isn't related to PHP but the cause of the error is due to the
scripts' inability to make a connection to the database. The error looks
like it's coming from WordPress, I could be wrong but if that's the case
then you need to update the wp-config.php file to reflect the proper
credentials to log into the database.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Need help Wth PHP

2011-10-09 Thread Rod Lindgren
Interesting. The wp-config.php file only contains the following:

html
head

meta http-equiv=content-type content=text/html; charset=ISO-8859-1
/head
body
br
/body
/html

Not sure where to go from here. Thanks for the input. Any more input is
appreciated.

Rod

-Original Message-
From: James Yerge [mailto:ja...@nixsecurity.org] 
Sent: Sunday, October 09, 2011 5:46 PM
To: r...@okinawa-te.info
Cc: php-general@lists.php.net
Subject: Re: [PHP] Need help Wth PHP

On 10/09/2011 08:41 PM, Rod Lindgren wrote:
 I have a hosting account and am trying to get a friend's website up and
 running. We downloaded his existing site from his current host and
uploaded
 it to my host. It is currently under a subdomain, www.egypt.aragren.com
 http://www.egypt.aragren.com/ . When I go there, I get an error message
 that says, Error establishing a database connection. What causes this
and
 how can I fix it? 


  

 Sensei Rod Lindgren

  

 Sent from my Gateway computer

  

  


This issue isn't related to PHP but the cause of the error is due to the
scripts' inability to make a connection to the database. The error looks
like it's coming from WordPress, I could be wrong but if that's the case
then you need to update the wp-config.php file to reflect the proper
credentials to log into the database.
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php