Page 1 of 2

Function editmenu() is deprecated

Posted: Thu Oct 05, 2017 8:38 pm
by roze
The debug-mode says

Code: Select all

XH-DEPRECATED: Function editmenu() is deprecated
/home/praktijkdommelen.nl/public_html/perfectsound/templates/responsivehtml/template.htm:50
filebrowser.jpg
When I click on a map e.g. downloads, I get: Fout 404: Niet gevonden

CMSimple_XH 1.7.0 Released: 2017-07-02
Pagemanager 3.0
Tinymce4


What do I have to check/change?


http://www.perfectsound.org

Re: Function editmenu() is deprecated

Posted: Fri Oct 06, 2017 9:18 am
by lck

Code: Select all

<?php echo editmenu();?>
has not been necessary for a long time. You can delete the call in the template. htm, so the message also disappears.

That should not be the cause, for the 404 error. Does the browser console (F12) provide any errors?

Re: Function editmenu() is deprecated

Posted: Fri Oct 06, 2017 11:19 am
by roze
I first made a copy of my template .htm

I removed the line with : <?php echo editmenu();?>

The debug-mode remark "XH-DEPRECATED: Function editmenu() is deprecated" was gone.

But the error 404 was not gone :(

Re: Function editmenu() is deprecated

Posted: Fri Oct 06, 2017 12:53 pm
by lck
lck wrote:Does the browser console (F12) provide any errors?
roze wrote:But the error 404 was not gone
Please check: Settings > Info > System check.
Are all tests successful (green)?

Re: Function editmenu() is deprecated

Posted: Fri Oct 06, 2017 1:01 pm
by cmb
roze wrote:The debug-mode says

When I click on a map e.g. downloads, I get: Fout 404: Niet gevonden

http://www.perfectsound.org
Since debug mode is enabled, I would expect that there is the file userfiles/downloads/_XHdebug.txt, but http://www.perfectsound.org/userfiles/d ... Hdebug.txt says: Not found. Can you request any other file in userfiles/ via entering the address in the browser's address line? If not, there may be some interference with the main website.

Re: Function editmenu() is deprecated

Posted: Fri Oct 06, 2017 1:13 pm
by lck
cmb wrote:Since debug mode is enabled, I would expect that there is the file userfiles/downloads/_XHdebug.txt, but http://www.perfectsound.org/userfiles/d ... Hdebug.txt says: Not found.
Today it was still there.

Another problem: see ./plugins//xhshop/ there one slash to much.
If plugins are to be disabled, only one point can be preceded, so .xhshop (not /xhshop)

Re: Function editmenu() is deprecated

Posted: Fri Oct 06, 2017 1:28 pm
by lck
lck wrote:Another problem: see ./plugins//xhshop/ there one slash to much.
:? Seems to be a bug in the XH-shop?

Re: Function editmenu() is deprecated

Posted: Fri Oct 06, 2017 1:36 pm
by frase
lck wrote:Seems to be a bug in the XH-shop?
Yes, Sir.
in index.php line 57:

Code: Select all

$hjs .= '<script src="'.$pth['folder']['plugins'].'/xhshop/js/xhs.min.js"></script>';

Re: Function editmenu() is deprecated

Posted: Fri Oct 06, 2017 1:57 pm
by frase
Another problem on this website:
The header-image (logo.jpg) has 4867 x 1042px and ~2,5 MB :roll:

The wrapper has: max-width: 1200px;

Try the reduced image:
(2000 x 428px ~235 kB)
nieuw-logo.jpg

Re: Function editmenu() is deprecated

Posted: Fri Oct 06, 2017 3:38 pm
by roze
Thanks for the "nieuw_logo"