#-o Can anybody take me by the hand and get a php web site up and running form start to finish. I have no knowledge or at least very very limited, I have downloaded the world zip and unpacked it.
Thanks
Vernon
#-o Can anybody take me by the hand and get a php web site up and running form start to finish. I have no knowledge or at least very very limited, I have downloaded the world zip and unpacked it.
Thanks
Vernon
There’s instructions contained on each page of the download when you open them using something like Notepad so you can see the code.
Also have a read through this thread: Carterlake/AJAX/PHP templates available
It’s a long one but most of what you’ll been is in there.
Thanks budgie i’ll give it a look.
Thanks
vernon
p.s. great web site you have…
Thanks Vernon, it’s taken some time to get it there though.
I’m on build 6 on the photo site and build 3 on the weather.
#-o Ok I have made the adjustments to the carterlake wxlocal pages and put them in the wd web folder along with the testtags/trends docs, I have uploaded the cartelake ajaxgizmo/wdwx and moon images etc etc and the 2 css docs. What do I do now with all the stuff in the ajaxphp folder,
Thanks Vernon.
Vernon,
I’m a bit confused about which package you are trying to install … the Carterlake/AJAX/HTML package or the Carterlake/AJAX/PHP package?
From your description, it sounds kind of like the Carterlake/AJAX/PHP package for the WD-World configuration.
If so, then it’s best to start by looking at the step-by-step instructions for the package (Saratoga-Weather.org - Website Templates - Weather-Display/AJAX/PHP - Installation ) and doing the items for the WD-World or ‘all’ packages.
Generally, all the files in the WD-World .zip file should be uploaded (and the built-in subdirectories preserved) to your website. Then you can do the configuration as directed by the aforementioned install instructions. It’s best to change one PHP page at a time, then upload it, then test it (by viewing the page in the browser). Some of the PHP pages are used by ALL the pages in your website, so if there’s a PHP error on them, the entire site may not display, so be careful in your editing
Hope this helps,
Best regards,
Ken
Hi ken thanks for the reply, I uploaded everything in the folder and it still looks like the old site ? i’m using Carterlake/AJAX/PHP site thanks
What about this: http://www.thetfordweather.co.uk/wxindex.php
Hi martin I see theres a little bit on the end of the url that make it appear, but it doesn’t look like the one I uploaded! I’ll check on the web site…
Ta vern
Ok everything has copied from the file to the host, so whats going wrong! any help please…
Thanks
Vern…
Not directly related the big issue, but it looks like you have not yet created the ajax-images subdirectory and uploaded the images.
Vern,
You seem to be missing some directories/files on your site.
The entire ajax-images/* directory needs to be uploaded with all its files.
The entire forecast/images/* directory needs to be uploaded with all its files.
Your Weather-Display is not uploading clientraw.txt to your site, so you need to use WD, Control Panel, Web Page/Realtime, Realtime FTP TAB
Tick: Rename the file as temporary file
Set ‘5’ as the Delay between uploading data
Tick: Every 30 minutes
Tick: Restart instead of relogin
Turn on the big switch to the right under the OK/Cancel buttons
Press Start Now, then press OK
YOu should see a yellow icon appear in your Windows Task area with a small red arrow that appears every 5 seconds … that means you’re uploading clientraw.txt successfully.
You also have a small issue with the trends/testtags setup (you’re uploading trends-inc.txt to testtags.php, which is incorrect).
Use the Weather-Display Control Panel,
Web Files/Web Page/Real Time FTP/WDL,
Custom Web Page Setup TAB
In the ‘Special file conversion’ area
put: trends-inc.txt in local file 1
trends-inc.html in Remote file name 1
testtags.txt in Local File 2
testtags.php in Remote file name 2
Turn the switch to ON
Press Test
Press OK to save the settings.
Best regards,
Ken
The ‘little bit on the end’ is a page address.
Each page on the site has to have it’s own name so that the server can look in the right place for it.
I’ve just gone on to your site again and it looks like you’re uploading the HTML version of the Carterlake templates and not the PHP version. Which one do you want to use? The PHP version means that you’re only uploading a few small text files and images, the HTML needs every page to be uploaded and uses a lot more upload time and bandwidth.
8O I thought the template files provided had to be adjusted site name etc and then put into the wd web files folder, but yes I do want to use the PHP version?
Thanks again
vern…
Hi Ken I have uploaded the Ajax images file, there is two to choose from the one I uploaded and ajax images original, I trust you only upload 1 of them. I can’t see a forecast images folder…
I’m going carry out your other instructions now.
Thanks
Vern
All you need to do is upload all the files you download onto the website to start with. This is so you can see the changes that you make as you alter each file and upload it again.
Once you’ve done that, then we can start altering the settings to make it look & work correctly.
Vern,
I think you’re mixing two different template sets, and that may be causing a confusion.
The original and AJAX-enabled templates required uploads by WD on a regular basis.
Those templates appeared in your c:\wdisplay\webfiles directory as wxlocal.html … wxlocal9.html and were uploaded by WD as wx.html … wx9.html
The PHP templates don’t use those files at all… if you have wxlocal.html … wxlocal9.html in your c:\wdisplay\webfiles directory, go ahead and remove them (delete) … they aren’t needed.
The PHP templates have a set of files (all with .php as the extension) and all should be present on your website, but they aren’t uploaded routinely by Weather Display. The ONLY .php file that needs to be uploaded by WD is the
testtags.txt file which is uploaded as testtags.php if you did the instructions I’d posted above (it will also need the trends-inc.txt to be uploaded as trends-inc.html as show above).
The three files: trends-inc.html, testtags.php and clientraw.txt are the ones that have the weather data needed to be displayed on your PHP template website. There are no other files that need routine upload.
EDIT: and Budgie’s advice is very good… I’d start over with a fresh install.
Hope this helps…
Best regards,
Ken
OK I’ll delete everything and start over , and take it from there,
Thanks for your time guys
Vernon.
p.s I’ll let you know when I get it sorted .
Ok its all uploaded to the web site now, what’s next
Thanks again guys
Vern…
In the files you downloaded, fine the one called “settings.php”.
Open this in something like Notepad and scroll down the page until you reach the part where it says # Configurable Carterlake/WD/PHP template Site Settings.
You’ll see lots of lines that start with “#SITE”
Go down the list and put in what each one asks for, if you’re not sure what to put in there then leave it as it is and come back and ask.
For the time zone (#SITE [‘tz’]) change the entry to = $ourTZ = ‘Europe/London’;