Function editmenu() is deprecated

Questions about how to use the online - editors and suggestions how to improve them
roze
Posts: 196
Joined: Tue Jun 03, 2008 7:13 am
Location: NL
Contact:

Function editmenu() is deprecated

Post by roze » Thu Oct 05, 2017 8:38 pm

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
Rob Zeijen,

Valkenswaard (NL)

lck
Posts: 1121
Joined: Wed Mar 23, 2011 11:43 am
Location: Dahoam ;)
Contact:

Re: Function editmenu() is deprecated

Post by lck » Fri Oct 06, 2017 9:18 am

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?
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“      XH-Templates for MultiPage & OnePage

roze
Posts: 196
Joined: Tue Jun 03, 2008 7:13 am
Location: NL
Contact:

Re: Function editmenu() is deprecated

Post by roze » Fri Oct 06, 2017 11:19 am

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 :(
Rob Zeijen,

Valkenswaard (NL)

lck
Posts: 1121
Joined: Wed Mar 23, 2011 11:43 am
Location: Dahoam ;)
Contact:

Re: Function editmenu() is deprecated

Post by lck » Fri Oct 06, 2017 12:53 pm

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)?
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“      XH-Templates for MultiPage & OnePage

cmb
Posts: 12318
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Function editmenu() is deprecated

Post by cmb » Fri Oct 06, 2017 1:01 pm

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.
Christoph M. Becker –Plugins for CMSimple_XH, but not for CMSimple 4+

lck
Posts: 1121
Joined: Wed Mar 23, 2011 11:43 am
Location: Dahoam ;)
Contact:

Re: Function editmenu() is deprecated

Post by lck » Fri Oct 06, 2017 1:13 pm

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)
Last edited by lck on Fri Oct 06, 2017 1:33 pm, edited 1 time in total.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“      XH-Templates for MultiPage & OnePage

lck
Posts: 1121
Joined: Wed Mar 23, 2011 11:43 am
Location: Dahoam ;)
Contact:

Re: Function editmenu() is deprecated

Post by lck » Fri Oct 06, 2017 1:28 pm

lck wrote:Another problem: see ./plugins//xhshop/ there one slash to much.
:? Seems to be a bug in the XH-shop?
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“      XH-Templates for MultiPage & OnePage

frase
Posts: 1726
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: Function editmenu() is deprecated

Post by frase » Fri Oct 06, 2017 1:36 pm

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>';

frase
Posts: 1726
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: Function editmenu() is deprecated

Post by frase » Fri Oct 06, 2017 1:57 pm

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

roze
Posts: 196
Joined: Tue Jun 03, 2008 7:13 am
Location: NL
Contact:

Re: Function editmenu() is deprecated

Post by roze » Fri Oct 06, 2017 3:38 pm

Thanks for the "nieuw_logo"
Rob Zeijen,

Valkenswaard (NL)

Post Reply