2015-05-26, 00:55:57
2015-05-26, 00:57:21
I would think something like these would be preffered
Code:
# RewriteRule /?([A-Za-z0-9_-]+)([;])([\d]+)?/?$ index.php?id=$1&page=$3 [QSA,L]
# RewriteRule /?([A-Za-z0-9_-]+)(?:;)?([\d]+)?/?$ index.php?id=$1&page=$2 [QSA,L]
2015-05-26, 03:16:40
(2015-05-26, 00:53:37)Carlos Wrote: [ -> ]Perhaps you have to insert the new rewriterule, instead of replacing the default one.I tried both without success.
(2015-05-26, 00:57:21)shawn_a Wrote: [ -> ]I would think something like these would be prefferedDoes not work.
Code:# RewriteRule /?([A-Za-z0-9_-]+)([;])([\d]+)?/?$ index.php?id=$1&page=$3 [QSA,L]
# RewriteRule /?([A-Za-z0-9_-]+)(?:;)?([\d]+)?/?$ index.php?id=$1&page=$2 [QSA,L]
My URL is
http://leistungsdamast.de/damaststahl/he...onsdamast/ which is OK
Link to the second page
http://leistungsdamast.de/damaststahl/he...sdamast;2/
leads to 404
Thank you for trying to help me.
Regards Peter
2015-05-26, 03:23:33
Tried it also with a slug that does not contain slashes, also without success.
I use the plugin simple_input_tabs and i put the tagline and the page content in seperate tabs in ckeditor.
Therefor i have to use insert_page_content() twice in the template instead of using get_page_content()
could this be a reason?
Regards Peter
I use the plugin simple_input_tabs and i put the tagline and the page content in seperate tabs in ckeditor.
Therefor i have to use insert_page_content() twice in the template instead of using get_page_content()
could this be a reason?
Regards Peter
2015-05-26, 03:43:57
Maybe this?
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+);(\d+)/?$ index.php?id=$1&page=$2 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
2015-05-26, 03:55:53
(2015-05-26, 03:43:57)Carlos Wrote: [ -> ]Maybe this?
Code:RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+);(\d+)/?$ index.php?id=$1&page=$2 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
Unfortunately no success.
Regards Peter
2015-05-26, 04:03:53
(2015-05-26, 03:43:57)Carlos Wrote: [ -> ]Maybe this?
Code:RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+);(\d+)/?$ index.php?id=$1&page=$2 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
I enabled all six lines now and it works, thank you very much for your help.
Regards Peter
2015-05-26, 07:57:54
(2015-05-26, 04:03:53)schakaa Wrote: [ -> ](2015-05-26, 03:43:57)Carlos Wrote: [ -> ]Maybe this?
Code:RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+);(\d+)/?$ index.php?id=$1&page=$2 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
I enabled all six lines now and it works, thank you very much for your help.
Regards Peter
Oh, this method has helped me! Awesome! Thank you!
2016-01-01, 19:28:06
@mvlcek
Version 1.3 in Extend is missing the pagify folder.
Version 1.3 in Extend is missing the pagify folder.
2016-01-01, 21:43:38
(2016-01-01, 19:28:06)Carlos Wrote: [ -> ]@mvlcek
Version 1.3 in Extend is missing the pagify folder.
Thanks, I corrected it.
Interesting that you are the first to mention this and it's there since June 2014. Seems that nobody uses it :-(
2016-01-01, 22:01:20
You probably missed this http://get-simple.info/forums/showthread...4#pid51414 and later posts.
I don't think it's that nobody is using it - If you upgrade from a previous version you don't notice this issue.
I don't think it's that nobody is using it - If you upgrade from a previous version you don't notice this issue.
2016-02-15, 04:41:31
@mvlcek, can you add option for custom rendering pagify navigation? And new unit - div.
2019-05-23, 17:46:30
We installed this Pagify Plugin.
Can we use / or - or _ or | in lieu of ; in the following Page URL?
http://www.shastras.com/adi-sankara/upadesa-sahasri;2/
Please guide us as to what to do in this regard.
Thanks,
Lakshmanan
Can we use / or - or _ or | in lieu of ; in the following Page URL?
http://www.shastras.com/adi-sankara/upadesa-sahasri;2/
Please guide us as to what to do in this regard.
Thanks,
Lakshmanan
2019-05-27, 07:32:35
(2019-05-23, 17:46:30)celextel Wrote: [ -> ]Can we use / or - or _ or | in lieu of ; in the following Page URL?
http://www.shastras.com/adi-sankara/upadesa-sahasri;2/
It should be possible by adjusting the configuration as described in http://mvlcek.bplaced.net/get-simple/pagify.
However, dash/underscore are valid characters in a page name and this might clash with the page number parsing.
You must take care to avoid page names ending with dash/underscore and number in this case.
2019-05-28, 01:30:46
(2019-05-27, 07:32:35)mvlcek Wrote: [ -> ]It should be possible by adjusting the configuration as described in http://mvlcek.bplaced.net/get-simple/pagify.
However, dash/underscore are valid characters in a page name and this might clash with the page number parsing.
You must take care to avoid page names ending with dash/underscore and number in this case.
We have configured / in lieu of ; and it is showing the split up Pages correctly:
http://www.shastras.com/nisargadatta-mah...ta-gita/2/
Thanks to You for Providing Many Useful Plugins and Support.
Lakshmanan
2019-06-20, 14:49:38
Our Template has the following Code for this Plugin:
We are seeing the following Error Messages now and then in the
/home/xxxx/public_html/data/other/logs/errorlog.txt File:
Following Code is on Line 158 of pagify.php:
Please guide us as to what to do in this regard.
Thanks,
Lakshmanan
PHP Code:
<?php
pagify_set_size(70000, 21);
get_page_content();
?>
We are seeing the following Error Messages now and then in the
/home/xxxx/public_html/data/other/logs/errorlog.txt File:
Code:
PHP Notice: Undefined offset: 4 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 4 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 10 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 8 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 1 in /home/xxx/public_html/plugins/pagify.php on line 158
Following Code is on Line 158 of pagify.php:
PHP Code:
return $pages[$pageNum] . "\n" . return_pagify_navigation(count($pages), $pageNum, $link);
Please guide us as to what to do in this regard.
Thanks,
Lakshmanan
2019-10-29, 16:45:51
(2019-06-20, 14:49:38)celextel Wrote: [ -> ]Following Code is on Line 158 of pagify.php:
PHP Code:return $pages[$pageNum] . "\n" . return_pagify_navigation(count($pages), $pageNum, $link);
Please let us know whether we could use array_pad() method as mentioned at the following URL for this issue:
https://www.daniweb.com/programming/web-development/threads/452877/how-to-prevent-undefined-offset-1
Thanks.
2021-02-22, 20:15:14
(2019-06-20, 14:49:38)celextel Wrote: [ -> ]Our Template has the following Code for this Plugin:
PHP Code:<?php
pagify_set_size(70000, 21);
get_page_content();
?>
We are seeing the following Error Messages now and then in the
/home/xxxx/public_html/data/other/logs/errorlog.txt File:
Code:PHP Notice: Undefined offset: 4 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 4 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 10 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 8 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 1 in /home/xxx/public_html/plugins/pagify.php on line 158
Following Code is on Line 158 of pagify.php:
PHP Code:return $pages[$pageNum] . "\n" . return_pagify_navigation(count($pages), $pageNum, $link);
Please guide us as to what to do in this regard.
Thanks,
Lakshmanan
Please suggest a solution to this issue.
Thanks,
Lakshmanan
2021-02-24, 01:15:13
(2021-02-22, 20:15:14)celextel Wrote: [ -> ][quote pid='64452' dateline='1561006178']
We are seeing the following Error Messages now and then in the
/home/xxxx/public_html/data/other/logs/errorlog.txt File:
Code:PHP Notice: Undefined offset: 4 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 4 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 10 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 8 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 1 in /home/xxx/public_html/plugins/pagify.php on line 158
[/quote]
It means, somebody requested a page that does not exist, e.g. entering in the URL a page number greater than the number of pages.
2021-02-24, 14:04:47
(2021-02-24, 01:15:13)mvlcek Wrote: [ -> ](2021-02-22, 20:15:14)celextel Wrote: [ -> ][quote pid='64452' dateline='1561006178']
We are seeing the following Error Messages now and then in the
/home/xxxx/public_html/data/other/logs/errorlog.txt File:
Code:PHP Notice: Undefined offset: 4 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 4 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 10 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 8 in /home/xxx/public_html/plugins/pagify.php on line 158
PHP Notice: Undefined offset: 1 in /home/xxx/public_html/plugins/pagify.php on line 158
It means, somebody requested a page that does not exist, e.g. entering in the URL a page number greater than the number of pages.
[/quote]
Okay, thanks.
2023-01-28, 03:41:54
Pagify 1.4.1:
- supports php8
- new language: ru (by DimaYakovlev)