Page not found

Permalink Browser Info Environment
Hi.
When I was setting a password on one of my pages it crashed the existing page and went to "Page not found". What can be the issue here?
Regards
Peter

1 Attachment

Type: Pre-Sale
Status: In Progress
peel1962
View Replies:
hanicker replied on at Permalink Reply
hanicker
Hi, there probably was a problem during install.

When installed the package creates a new single page on the path /passwordrequest, can you check in the sitemap if it is present?

Thanks
Regards
peel1962 replied on at Permalink Reply 1 Attachment
peel1962
Yes, it's there. See image. And when I'm removing the password on the page it's OK again.
Tried with and without checking "include subpages", but same result. "Page not found".
/Peter
hanicker replied on at Permalink Reply
hanicker
Can you please try editing the page and check if it has the correct path, eg. /passwordrequest ? Also have you tried clearing cache?

Thanks
peel1962 replied on at Permalink Reply
peel1962
I´ve cleaned the cache several times, but no changes. I tried to set password on different pages, but with the same result. What page do you mean I will edit? If it is controller.php and PagePasswordModel.php they seem to have the right path.
In controller code:
//Password request page
$sp = SinglePage::add('/passwordrequest', $pkg);
$sp->setAttribute('exclude_nav', 1);
$sp->setAttribute('exclude_page_list', 1);
$sp->setAttribute('exclude_search_index', 1);
$sp->setAttribute('exclude_sitemapxml', 1);

In PagePasswordModel code:
if (Page::getCollectionPathFromID($cID) == '/passwordrequest/' || Page::getCollectionPathFromID($cID) == '/passwordrequest') {
return;
}

Don't know where else to look.

/Peter
hanicker replied on at Permalink Reply
hanicker
Sorry I mean if you try to edit the passwordrequest page in the sitemap in the dashboard. It is strange as it is a normal page so it should not show a 404 error.
peel1962 replied on at Permalink Reply
peel1962
I can see the page in edit mode, but not actually edit anything.
/Peter
hanicker replied on at Permalink Reply
hanicker
Can you send me a temporary dashboard access? It should possible to edit the page attributes. If you prefer I can refund the license.

Thanks
Regards
peel1962 replied on at Permalink Reply
peel1962
Yes, it's possible to edit the attributes, but to me it seems OK. I will send you access to the dashboard but maybe in a more personal way. Can I use e-mail?
/Peter
hanicker replied on at Permalink Reply
hanicker
Sure, you can mail it at info@nicolamoretti.com

Thanks
Regards
peel1962 replied on at Permalink Reply
peel1962
Sent now.
/Peter

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.14
Version Installed - 8.5.14
Database Version - 20220319043123

# Database Information
Version: 8.0.34-26
SQL Mode: NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Modena Theme (1.2.3), Page password (0.9.5)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
litespeed

# PHP Version
7.4.33

# PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, intl, ionCube Loader, json, ldap, libxml, litespeed, mbstring, mcrypt, memcache, msgpack, mysqli, mysqlnd, openssl, pcre, PDO, pdo_dblib, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, redis, Reflection, session, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 200
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 5000
max_multipart_body_parts - -1
memory_limit - 2048M
post_max_size - 1024M
upload_max_filesize - 1024M
ic24.api.max_timeout - 7
ldap.max_links - Unlimited
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
memcache.max_failover_attempts - 20
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
redis.pconnect.connection_limit - 0
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1.2 Safari/605.1.15

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.