458 | Posts |
8.1K | Downloads |
5 | Themes |
9 | Plugins |
I get the error (gpdebug is off)
Notice (8) Undefined index: label
in: /mnt/web020/a1/95/51478895/htdocs/Lehre2017/data/_addoncode/tbuvdiq/nextprevious.php
on line: 31
Request: /TM_-_elucidation
Method: GET
Show Backtrace
array( [0] => array( [function] => (string)np_addlinks [args] => (string)array(1) ) [1] => array( [file] => (string)/mnt/web020/a1/95/51478895/htdocs/Lehre2017/include/tool/Output.php [line] => (integer)676 [function] => (string)call_user_func_array [args] => (string)array(2) ) [2] => array( [file] => (string)/mnt/web020/a1/95/51478895/htdocs/Lehre2017/include/tool/Output.php [line] => (integer)628 [function] => (string)ExecMethod [class] => (string)gp\tool\Output [type] => (string):: [args] => (string)array(3) ) [3] => array( [file] => (string)/mnt/web020/a1/95/51478895/htdocs/Lehre2017/include/tool/Output.php [line] => (integer)575 [function] => (string)_ExecInfo [class] => (string)gp\tool\Output [type] => (string):: [args] => (string)array(2) ) [4] => array( [file] => (string)/mnt/web020/a1/95/51478895/htdocs/Lehre2017/include/tool/Plugins.php [line] => (integer)237 [function] => (string)ExecInfo [class] => (string)gp\tool\Output [type] => (string):: [args] => (string)array(2) ) )
in line 31 stands if (($nextLevel !== null) && ($gp_menu[$nextLevel]['level'] > 0)) {
echo common::Link($gp_titles[$nextLevel]['label'],'Next');
}
Reinstall does not help - how can i switch that off
1.5K | Posts |
65K | Downloads |
16 | Plugins |
Edit nextprevious.php
Add '$langmessage' to line 3:
global $page,$gp_index,$gp_titles,$gp_menu, $langmessage;
after line 30 add this line:
$label = isset($gp_titles[$nextLevel]['label']) ? $gp_titles[$nextLevel]['label'] : $langmessage($gp_titles[$nextLevel]['lang_index']);
and change the (then) line 32 to:
echo common::Link($label,'Next');
Hope it works (not tested)
458 | Posts |
8.1K | Downloads |
5 | Themes |
9 | Plugins |
After installing the typesetter-master 'include'-dirctory the error was regarding line 27 instead of 31
Applying your patch I got
Parse error: syntax error, unexpected ''$langmessage'' (T_CONSTANT_ENCAPSED_STRING), expecting variable (T_VARIABLE) or '$' in /mnt/web020/a1/95/51478895/htdocs/Lehre2017/data/_addoncode/tbuvdiq/nextprevious.php on line 3
and the sidebar disappeared and the bootstrap-style was flat (losses of extra-layout-css)
--After reinstallation of the old nextprevious.php i get again (not on all sites only on some..)Undefined index: label
in: /mnt/web020/a1/95/51478895/htdocs/Lehre2017/data/_addoncode/tbuvdiq/nextprevious.php
on line: 31
Request: /-
Method: GET
i also got ( - , contact and test are sitenames)
Notice: Undefined index: _extra_0 in /mnt/web020/a1/95/51478895/htdocs/Lehre2017/data/_addoncode/tbuvdiq/nextprevious.php on line 31
and
Undefined index: 9k
in: /mnt/web020/a1/95/51478895/htdocs/Lehre2017/data/_addoncode/tbuvdiq/nextprevious.php
on line: 5
Request: /test
Method: GET
Undefined index: _extra_0
in: /mnt/web020/a1/95/51478895/htdocs/Lehre2017/data/_addoncode/tbuvdiq/nextprevious.php
on line: 27
Request: /Contact
Method: GET
After reinstallation and emptying the cache the messages disappeared - hopefully for ever .
1.5K | Posts |
65K | Downloads |
16 | Plugins |
Hmm, maybe better try to use this plugin
instead. Its based on PrevNextNav 1.0 by folke and fly06fr but has a few more options. See its Admin Page.
Needs to be installed manually:
Unpack the ZIP into your /addons directory and install it via
Admin Toolbox -> Plugins -> Manage -> Available -> Install
After installation you will need to add the "PrevNextNav Gadget" e.g. to the "AfterContent" Area via Layout Editor.
1.5K | Posts |
65K | Downloads |
16 | Plugins |
1.5K | Posts |
65K | Downloads |
16 | Plugins |
458 | Posts |
8.1K | Downloads |
5 | Themes |
9 | Plugins |
The extended nav gives me
Notice (8)
Undefined index: label_prev
in: /mnt/web020/a1/95/51478895/htdocs/Lehre2017/addons/PrevNextNav-Extended/PrevNextLinks_Gadget.php
on line: 98
Request: /Hermetics
Method: GET
Show Backtrace
array(
[0] => array(
[file] => (string)/mnt/web020/a1/95/51478895/htdocs/Lehre2017/addons/PrevNextNav-Extended/PrevNextLinks_Gadget.php
[line] => (integer)70
[function] => (string)_makelink
[class] => (string)PrevNextLinks_Gadget
[object] => (string)object PrevNextLinks_Gadget
[type] => (string)->
[args] => (string)array(2)
)
[1] => array(
[file] => (string)/mnt/web020/a1/95/51478895/htdocs/Lehre2017/addons/PrevNextNav-Extended/PrevNextLinks_Gadget.php
[line] => (integer)11
[function] => (string)_prevNextLinks
[class] => (string)PrevNextLinks_Gadget
[object] => (string)object PrevNextLinks_Gadget
[type] => (string)->
[args] => (string)array(0)
)
[2] => array(
[file] => (string)/mnt/web020/a1/95/51478895/htdocs/Lehre2017/include/tool/Output.php
[line] => (integer)647
[function] => (string)__construct
[class] => (string)PrevNextLinks_Gadget
[object] => (string)object PrevNextLinks_Gadget
[type] => (string)->
[args] => (string)array(1)
)
[3] => array(
[file] => (string)/mnt/web020/a1/95/51478895/htdocs/Lehre2017/include/tool/Output.php
[line] => (integer)622
[function] => (string)ExecClass
[class] => (string)gp\tool\Output
[type] => (string)::
[args] => (string)array(4)
)
[4] => array(
[file] => (string)/mnt/web020/a1/95/51478895/htdocs/Lehre2017/include/tool/Output.php
[line] => (integer)576
[function] => (string)_ExecInfo
[class] => (string)gp\tool\Output
[type] => (string)::
[args] => (string)array(2)
)
)
After deinstallation and new download of the old nextprevious i have only very rare error-windows and hope i can live with it.
298 | Posts |
PrevNextNav
Mit diesem Plugin hatte ich auch meine Probleme. Eine Lösung innerhalb von TS würde Sinn machen.
PrevNextNavigation 1.0 (PrevNextNav-Extended 1.0.1)
Zu Beachten:
Auch verschachtelte Seiten auch bis Ebene 3 oder 4?
Es ist mehrere Navigationen, die auch in der Hauptnavigation erscheinen
Auch Navigationen die Versteckt sind aber die Seiten sichtbar zB bei Portfolios
Wenn man das Plugin Katalog verwendet kann unter gewissen Umständen zwei PrevNextNav erscheinen.
Anregung:
Evtl bei jeder Seite angeben über ein Checkbox PrevNextNav einblenden oder nicht
458 | Posts |
8.1K | Downloads |
5 | Themes |
9 | Plugins |
I think i found the reason : I hada hidden site in which i collected bootstrap-codesnippets.
After the site had become quite long i was no loner able to see the sourcecode in ckeditor.
So i created 3 hidden sites and sought the snippets (i preserved the links) in the web and
distributed them on the 3 pages and deleted the original site. After that i had no further errors.
A new release for Typesetter is in the works with a lot of improvements including the ... Read More
Typesetter 5.1Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More
More News
What CMS: Find out what CMS a site is using.
Who Hosts This: Find out who is hosting any web site
WordPress Theme Detect: Find out which theme a WordPress site is using