|
Post by trefilov22 on Sept 9, 2018 20:01:14 GMT
I am running into this at the top of my tablepages, it does not seem to be affecting anything, just annoying...
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in C:\Websites\POFHL\tablepage\head.php on line 118 HomeBack LIST
|
|
|
Post by eleclerc on Sept 9, 2018 20:39:40 GMT
I know, since the last version of the PHP7, the each() function is going to be outdated in further PHP version. I will add it to the to do list. As list in manual: ca3.php.net/manual/en/function.each.phpThis function has been DEPRECATED as of PHP 7.2.0. Relying on this function is highly discouraged. This is what I don't like of PHP, they add some cool features and sometimes, they kill old one and make the function obsolete. Edit: A new version with corrected files will be done this week! 39 files to edit!
|
|
|
Post by eleclerc on Sept 10, 2018 23:17:29 GMT
I updated the version 1.01 with the fix on all pages for the each() deprecated function.
@trefilov Just overwrite all files to update them. Don't overwrite the config.php file. Tell me if it works good.
|
|
|
Post by trefilov22 on Sept 10, 2018 23:27:33 GMT
Wow great! Thanks Eric!
|
|
|
Post by yodacheeks on Sept 17, 2018 22:20:45 GMT
Hey Eric, just changed hosts and now my pages show an error: www.shl.simhockeyfans.com/Page/LinkedRosters.php?&team=TorontoWarning: Cannot modify header information - headers already sent by (output started at /home3/simhock1/public_html/shl/Page/config.php:1) in /home3/simhock1/public_html/shl/Page/head.php on line 56 Any thoughts?
|
|
|
Post by eleclerc on Sept 17, 2018 23:18:04 GMT
Edit "config.php" with Notepad++ Or an editor with UTF-8 w/o BOM capability. notepad-plus-plus.org/download/v7.5.8.htmlIf you edit it with WordPad or NotePad, it will saves it as UTF-8 with BOM and BOM will add a char at the beginning of the "config.php" file. If there is a char sent before the "head.php" file, it may not works properly.
|
|
|
Post by yodacheeks on Sept 17, 2018 23:23:25 GMT
Edit "config.php" with Notepad++ Or an editor with UTF-8 w/o BOM capability. notepad-plus-plus.org/download/v7.5.8.htmlIf you edit it with WordPad or NotePad, it will saves it as UTF-8 with BOM and BOM will add a char at the beginning of the "config.php" file. If there is a char sent before the "head.php" file, it may not works properly. Thanks Eric, will give it a try
|
|
|
Post by nashlcommish on Sept 25, 2018 1:07:21 GMT
Is it possible to add a “return to homepage” button to these pages?
|
|
|
Post by eleclerc on Sept 25, 2018 10:14:12 GMT
There is a home button available in the config.php file.
|
|
|
Post by nashlcommish on Sept 25, 2018 21:11:22 GMT
Of course there is, you're on top of this. Thanks!
|
|
|
Post by trefilov22 on Oct 4, 2018 13:39:38 GMT
Any idea why I can't see any of my penalties in the boxscore? Here is a link to a game from my league, have a look at penalty section... Thanks! Penalties not showing...
|
|
|
Post by eleclerc on Oct 4, 2018 20:09:55 GMT
I will look at it... The rows are there but there is no name printed. I found the problem... Try this file. games.php (19.51 KB) Maybe a string to array error and the new PHP 7.2 doesn't like it! I updated the zip file on the first post with the new one.
|
|
|
Post by trefilov22 on Oct 4, 2018 22:26:59 GMT
I will look at it... The rows are there but there is no name printed. I found the problem... Try this file. Maybe a string to array error and the new PHP 7.2 doesn't like it! That fixed it Eric! Thank you!
|
|
|
Post by fchladmin on Oct 30, 2018 13:36:46 GMT
I have a suggestion for the player search page
It would be kind of nice to have included along with the positions an option to search by forwards. That would only include in your search center left wing and right wing
|
|
|
Post by yodacheeks on Nov 3, 2018 12:44:22 GMT
Eric, still having issue with season 3 not showing, any thoughts?
|
|