Jump to content

John T

Members
  • Posts

    22
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Eastbourne, Sussex, UK

John T's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. John T

    Changing ISP

    OK all jobs done! I opened my sql file in Notepad++ and renamed it to suit the new database provided by my new host, edited some lines to also match and, hey presto it worked. I was expecting "could not connect to database" but no. A couple of things did not pull over but too few to worry about. Thanks guys for the advice.
  2. John T

    Changing ISP

    Thanks for the replies. I have a download of both my databases also a complete site download and will have a look later today (Wife says I have jobs to do today) Thanks again I will report back.
  3. John T

    Changing ISP

    Thanks for the quick reply. I did not think it would be simple! Could you please tell me which scripts I need to modify as I am a complete numpty with regard to this? Thanks.
  4. John T

    Changing ISP

    Hi, I am changing my ISP and need to import my databases. Do I I have to create a new datarbase or can I change my database name to import? My new host has a different database prefix ie: -web147xxxxxxxx My old one was arewene1_wor1. Many thanks.
  5. I think you would get on ok as you seem to be 'clued up' on these things. I only started 'playing' with web sites in January. Best of luck
  6. Phew! I looked at the docs that came with wamp, apache and php as I could not find in this site. lots of reading got so confused! had a look in the files and then php admin threw up lots of errors. Could not see any data bases nothing at all! Went to bed. Opened wamp today and php admin was working again. Re installed php 5.3.0. and re ran test.php and lo and behold up came all the info regarding installed php files. YES, YES, YES calling php now works using <div id="nav"> <?php require 'withmenu.php'; ?> </div> I think when I first installed Wamp Server I was overwhelmed with the set up procedure and 'cut corners' also not knowing what should load or not did not help. I know it is free but some screen shots would have helped. A big thanks for all your help and happy Easter. Regards, John.
  7. Phew!!! Read the info that comes with wamp etc. got lost! could not find the docs on the forum. So I started looking in the files in Apache. I thought I had broken Myphp admin, loads of errors, could not see any data base. Turned it off and went to bed. Looked again today and php admin was working again. So I have re loaded PHP 5.3.0 and re ran test.php, Lo and behold all the php info came up. Now back to the original problem. At least it has saved me going to the sport shop for golf clubs lol.
  8. Yes thanks again, I will have a look at the guide. I have a couple of screen shots from my wamp. [attachment deleted by admin]
  9. Big mistake! just been reading info on php on my wampserver. Did not know there were two different php.ini files. One for production (reconmended) and another for developement. I have no idea which one I am using or how to check what is being run on it. The thing that gets me is I am using on the same server a commercial genealogy program that only uses php and, that works fine. Perhaps I should take up golf instead! lol
  10. Well I got that wrong! I have now called test.php in my browser and the page returned <?php phpinfo(); ?> Is that what should have been shown? Thanks again.
  11. That's a problem. You should get all your PHP settings listed on the page. Also, you shouldn't use () with require - it's not a function. Thanks for the reply. I assume that <?php phpinfo(); ?> is at the top of my page as that is where I tried it. Even on known working php pages it still shows no php, the page opens in my browser as if it were an html page I have taken out the () but made no difference. I have been reading more tutorials and have read that CSS and PHP menus should not be called from the same file so, I have also tried that. Calling style sheets then calling what is now called menu.php in my page results in the styles working but still no menu. More reading to do I think!
  12. Yes I am browsing to the URL for your page - http://localhost/your_file.php. If I change the file extension to html it works. Is there a way I can call an HTML file like I can call style sheet .css?
  13. <?php error_reporting(E_ALL); ini_set('display_errors', '1'); require('withmenu.php'); ?> Thanks Shawn, This showed no erros
  14. <?php phpinfo(); ?> Returns a blank page
  15. Yes I have another site on the server using a commercial program that is all php.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.