problem to update static pages

Questions about Jaws Gadgets (Blog, Photo Organizer, Polls, Banners, etc)

Re: problem to update static pages

Postby AKoerselman » Wed Jun 03, 2015 9:02 pm

Nothing has changed yet.
If I am updating a static page or creating a new one,
it won't save the fast urls.
Which causes the message "this page can't be shown" when you click on my website. Nothing is there to be read or seen.
So I can't update or create anything, since then my whole website won't show up
Could you please find a solution A.S.A.P. to make it possible that fast urls can be saved again.

I would be very grateful
(I do understand through the forum that last time it had something to do with jaws updates?
Is this problem the cause again?)
If so. Where can I find the lines, which someone advices to change, to solve this problem.

Thank you so much in advance!
AKoerselman
 
Posts: 7
Joined: Fri Apr 12, 2013 11:46 am

Re: problem to update static pages

Postby AKoerselman » Sat Jun 06, 2015 7:25 pm

Uufff. The fix of g de kreijzer also corrected the problem. In my case it was in ./include/Jaws/Model.php line number 299
AKoerselman
 
Posts: 7
Joined: Fri Apr 12, 2013 11:46 am

Re: problem to update static pages

Postby phallgarten » Thu Aug 27, 2015 2:26 am

Also getting this error in 0.8.18,

Code: Select all
Warning: preg_replace(): Compilation failed: invalid range in character class at offset 21 in /home2/werribe1/public_html/jaws/include/Jaws/Model.php on line 302

Warning: Cannot modify header information - headers already sent by (output started at /home2/werribe1/public_html/jaws/include/Jaws/Model.php:302) in /home2/werribe1/public_html/jaws/include/Jaws/Header.php on line 33

Warning: Cannot modify header information - headers already sent by (output started at /home2/werribe1/public_html/jaws/include/Jaws/Model.php:302) in /home2/werribe1/public_html/jaws/include/Jaws/Header.php on line 34


System information is as follows:

Code: Select all
PHP Version   5.4.43
Loaded PHP Extensions   Core, PDO, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mcrypt, mhash, mysql, mysqli, odbc, openssl, pcntl, pcre, pdo_dblib, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, readline, recode, session, shmop, soap, sockets, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
Database Driver/Version   mysqli/5.5.42-37.1-log
Jaws Version/Codename   0.8.18/What we do in life echoes in eternity.


I have tried the fix above and still get the same error

Code: Select all
array('#[^\p{L}[:digit:]_\.\-\s]#u', '#[\s_\-]#u', '#\-\+#u'),
phallgarten
 
Posts: 3
Joined: Sun Jul 24, 2011 2:54 am

Re: problem to update static pages

Postby AKoerselman » Tue Mar 01, 2016 8:43 am

Dear all,

Static page doesn't show any pages at the moment.
No matter what browser I use (Safari, Chrome, Firefox, IE).
I just see in blue the headlines, and how many pages I have made,
but underneath nothing is showed.
It is also impossible to go to the next page or the previous.

Also menu doesn't delete a menu, although I can conform.

Could you please solve these problems. I want to update my website
Thank you in advance
AKoerselman
 
Posts: 7
Joined: Fri Apr 12, 2013 11:46 am

Re: problem to update static pages

Postby hayden » Tue Apr 12, 2016 11:41 pm

i fixed a preg_replace error that was stopping fast-url being saved
Code: Select all
preg_replace(): Compilation failed: invalid range in character class

/include/jaws/model.php
Code: Select all
$fast_url = preg_replace(array('#[^\p{L}[:digit:]_\.-\s]#u', '#[\s_-]#u', '#-+#u'),


to

Code: Select all
$fast_url = preg_replace(array('#[^\p{L}[:digit:]_\.\-\s]#u', '#[\s_-]#u', '#-+#u'),
hayden
 
Posts: 96
Joined: Wed Oct 22, 2008 12:17 pm
Location: Sydney, Australia

Previous

Return to Gadgets

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron