Updating PHP scripts

Ok… .I copied the entire Jpgraph-4.4.2-src-only from the zip file I downloaded

Screenshot: Left is from zip file right is whats their now. Now that I look the file sizes dont match. I could try again copy everything from src folder in the zip over to my host site?

I know you are tired of me bugging you. Would you be willing to review my site for which I would gladly pay you for your time and/or make a donation. You could probably figure this stuff out in minutes.

Do those changes to fix the remaining jpgraph issues.

im officially an idiot then

I copied the /src from zip over to host site (few times even). Host site now shows a date of today. However the file sizes dont match in all.

I still get the error

Maybe we could do a screen share over the weekend

This the version i have for noaarecords which works on php 8.2 you will need to check the settings and file paths
wxnoaarecords.zip (15.9 KB)

Thanks, will give that a try

Still trying to figure out the graphs. They now work, but get an error at the top of the page. I downloaded the files from zip file to my site. I changed the lines to point to the new folder, yet still get the errors.

I hope you guys keep reporting here, I’m going through the same process, but lightyears behind DeputyDawg’s web-development, and coding capabilities.

@docmarv WOW thanks but I am far from web development or coding. I’m better than when I first started but still in the novice stage.

What are you trying to do? If you want shoot a link to your site

1 Like

Hey DeputyDawg,
yes, I’m trying to to upgrade my old Carter style website to the Saratoga style
mainly for the “weather detail” pages, Harold has a really cool setup, with like 4 different website choices using sub-directories.
I checked my Carter website with the validator and came back with 536 errors lol
http://www.docmarvweather.com/

I am SOOO sorry i’m just seeing this. When I click on that link, it appears to be working. Did you fix it?

My up-to-date Saratoga site shows 97 errors, plus 9 warnings and 68 info messages. . . I’m sure I’ve introduced a few of them :wink:

Currently mine Ballaugh Weather - Home has 6 errors in validation most of which concern tr ref and they have proved to be the hardest to sort as it either breaks the page or gives more errors and then there’s finding the right script to edit in the first place

Where are you seeing these errors? When I look at your link I see the new look (nice job), but not seeing any errors

He’s using the html validator. If you want a fright, enter your url here.

I used https://validator.w3.org
And bitsostrings link was a fright 467 message lines

My version is described as their “non-DTD-based validator”. I presume (until corrected) that this means it ignores any Document Type Definition that script authors may include.

I’m sure @pwsdashboard recommended my version recently in connection with beta testing, but the files have been closed.

“Expert response” required. . . :wink:

The basic debugging actions for fixing HTML (or CSS) validation is:

  • Do a validation on a stock page like wxnewpage.php or wxsitemap.php – as shipped, they validate w/o error.
  • if you find errata there, then start with top.php, header.php, menubar.php and footer.php – the errata are likely caused by modifications to one of those pages.
  • when the wxnewpage.php and wxsitemap.php now validate, then you can try validation of the wx…php page that has errata (knowing that the errors are now likely on that page alone).

I hope this helps…

Which one do you recommend?

Great site, never knew. Mine gets 225 errors, of which many are info. But for the errors they all point use CSS instead

For Saratoga Template HTML ( XHTML 1.0 Transitional) use

The ‘nu’ validator is for HTML5 (not currently used in the Saratoga Template nor auxiliary scripts) … it will show lots of errata for closed tags, obsolete (in HTML5) tags, etc.

1 Like

My bad, use the validator Ken recommends.