caching issue in new beta core?

soaringeagle
@soaringeagle
9 years ago
3,304 posts
hey im having some weird issues in the new beta, but its sorta ..inconsistent.. consistently inconsistent though
symptoms:
note symtoms make it unworkable and 100% consistent in edge browser, slightly more random in others
1 hen working in sitebuilder changes you made do not persist into the next time you enter sb, as if you are loading cached pages that shouldn't be cached, example enter sb edit a widget change results per page (or add the word test) save check page enter sb the former results pre-edit show trying to edit again and save always results in invalid form data (edge browser, always, other browsers sometimes)
2 marketplace update moldules get the all are updated notice go to another page then back again now it looks like all modules need updating again.

tested in developer mode
tested with litespeed server cache disabled
even clearing browser cache or ctrl 5 hard refresh doesn't always fix it

i even get the invalid form data after creating a gallery save then try to create a second 1



--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 02/06/17 07:28:17AM
michael
@michael
9 years ago
7,772 posts
Not seeing the Site builder issue.
Steps:
Add a widget to sitebuilder with the timeline module and "results per page" set to 2.
With caching active at 300 seconds edit that ITEM LIST widget and change the per page to 3.

Expected:
I expected to see it stuck at 2 if i'm following your error report correctly, but it changed to 3 as expected.

I repeated and changed it to 4 trying to see the error. No error.

Possible its caching that the edge browser is doing by itself. Test also with firefox. If its only happening in one browser, its not related to the jamroom code, but to the browser being used.
soaringeagle
@soaringeagle
9 years ago
3,304 posts
well as i said its consistent in edge (filed a report with Microsoft) its inconsistent with firefox, but does happen its a lot less often with edge its a constant
i doubt you have access to a machine with edge though huh


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
that could be the case
it seems something is getting cached that shouldnt be ..or the cache control headers are being improperly handled in some cases
unfortunately i dont think edge has enough extentions yet to monitor the site data and try ti see whats being cached and what isnt


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
---yes in firefox, every other gallery i create causes invalid form data
to rectreate as i am creating
as master admin
i am creating galleries on another master admins profile (in case it maters)
i create a gallery then create another get invalid form data have to hard refresh or delete site cache (i have a cache cleaner that only cleans that sites cache)
every second gallery causes it


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
yea havin the issue when activating new installed modules as well. when i activate right after activating it says disabled till you hard refresh


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
9 years ago
10,148 posts
derrickhand300:
I have noticed that to get something out of the cache I have to go to data/cache folder via FTP a lot more often than I normally do in JR5 ( Normally reset cache/integrity check does it)...maybe related...maybe not -just my observation

You should never have to FTP to the cache folder, or really even care about it. We've been running JR here on jamroom.net for 3 years now and I don't think one time I've ever "manually" deleted cache files.

Let me know how to see the caching issue and I can check it out.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 11/07/16 03:10:53PM
soaringeagle
@soaringeagle
9 years ago
3,304 posts
try the thing i suggested as a master admin post gallerieso a seoerate master adminprofile after you add a gallery, add a second gallery then yiu get the error and have to clear cache and try again
also install a module then activate it it will imediately say its not active till you do a hard refresh
using ningja if it matters


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
9 years ago
10,148 posts
soaringeagle:
as a master admin post gallerieso a seoerate master adminprofile after you add a gallery, add a second gallery then yiu get the error and have to clear cache and try again

I did my best to parse this sentence, but I'm struggling - did you mean to say "post galleries to a separate master admin profile" ??


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
9 years ago
3,304 posts
yes sorry typing while in the phone multitasking


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
example i am logged in as soaringeagle master admin and creator
carl gave me 4500 photos and i upgraded his account to master admin
i am posting new galleries to his profile http://fwi.dreadlockssite.com/carl-slegel/gallery
not mine
after posting a gallery i click + to add another upload pics then try to save save always fails on gallery 2 unless iclear site cache before clicking + to add the new gallery


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
9 years ago
10,148 posts
I just tested this here and don't see an issue - I posted 3 galleries in a row on a profile for a master admin and it worked each time. What I DID see however was that the title of the gallery is not being cleared - so when you click on the + sign to create a new gallery, you see the gallery title from the previous save, so I will check that out.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
9 years ago
3,304 posts
that i do think is part of the issue ..i think it kinda presents diferent symptoms but has to have a common cause, somethings causing data to cache that shouldnt it maybe the specific modules i have installed or who knows what
but i think if you figure out why thats doing that it should point to the similar issues elsewhere
i gues if need be i can clear all cache do it then zip the browsers cahe folder contents to ya


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
9 years ago
10,148 posts
soaringeagle:
that i do think is part of the issue ..i think it kinda presents diferent symptoms but has to have a common cause, somethings causing data to cache that shouldnt it maybe the specific modules i have installed or who knows what
but i think if you figure out why thats doing that it should point to the similar issues elsewhere
i gues if need be i can clear all cache do it then zip the browsers cahe folder contents to ya


That's not going to help me at all - I need to be able to replicate the issue or it's hard to fix :(

I've opened a ticket on the pre-populating of gallery title - someone has added that in and I'm not sure why it was done, but am checking it out.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
9 years ago
3,304 posts
that certainly could be the cause of this issue but not all so my guess is its a script or something that should nver be cached but is being cached..or more likeky the output from the script that contains the item_id so its causing a duplicare item id conflict..let me check logs both site and server and continue testing till i spot any issues in the logs


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
site error logs
[04-Nov-2016 17:58:39 Europe/Dublin] PHP Warning:  is_file(): open_basedir restriction in effect. File(/var/www/vhosts/dreadlockssite.com/fwi.dreadlockssite.com/modules/event.zip/include.php) is not within the allowed path(s): (/) in /var/www/vhosts/dreadlockssite.com/fwi.dreadlockssite.com/modules/jrCore-release-6.0.0b5/lib/module.php on line 212 [4]
[04-Nov-2016 17:59:28 Europe/Dublin] PHP Notice:  Undefined index: _uri in /var/www/vhosts/dreadlockssite.com/fwi.dreadlockssite.com/modules/jrSiteBuilder-release-1.1.6/include.php on line 950 [5]
[04-Nov-2016 17:59:29 Europe/Dublin] PHP Notice:  Undefined index: base_url in /var/www/vhosts/dreadlockssite.com/fwi.dreadlockssite.com/modules/jrTags-release-1.4.1/include.php on line 281 [6]
[04-Nov-2016 17:59:29 Europe/Dublin] PHP Notice:  Undefined index: profile_id in /var/www/vhosts/dreadlockssite.com/fwi.dreadlockssite.com/modules/jrTags-release-1.4.1/include.php on line 284 [6]
[04-Nov-2016 17:59:31 Europe/Dublin] PHP Warning:  imagecreatetruecolor(): Invalid image dimensions in /var/www/vhosts/dreadlockssite.com/fwi.dreadlockssite.com/modules/jrImage-release-1.5.0/include.php on line 1643 [5]
[04-Nov-2016 18:08:20 Europe/Dublin] PHP Warning:  strpos(): Empty needle in /var/www/vhosts/dreadlockssite.com/fwi.dreadlockssite.com/data/cache/jrNingja/2bb961c790fc6547bfe8e01be252c4b2^c9935df07db68c8572f8ef260d106237136728bc_1.file.c883b2c493b840d627ea7782c9a1633f^jrNingja^profile_header.tpl.php on line 45 [1]
[04-Nov-2016 18:08:20 Europe/Dublin] PHP Warning:  strpos(): Empty needle in /var/www/vhosts/dreadlockssite.com/fwi.dreadlockssite.com/data/cache/jrNingja/2bb961c790fc6547bfe8e01be252c4b2^c9935df07db68c8572f8ef260d106237136728bc_1.file.c883b2c493b840d627ea7782c9a1633f^jrNingja^profile_header.tpl.php on line 90 [1]

debug log empty


activity log errors show aot of invalid order by search critera errors
details
Key 	Value
Message 	[soaringeagle] invalid order_by criteria in jrCore_db_search_items parameters
Date 	11/07/16 07:51:25PM
IP Address 	71.225.6.155
URL 	
Memory 	13.5MB
Data 	
Array
(
    [0] => invalid order direction:  received for event_date - must be one of: ASC,  DESC,  NUMERICAL_ASC,  NUMERICAL_DESC,  RANDOM
    [1] => jrEvent
    [2] => Array
        (
            [jrcore_list_function_call_is_active] => 1
            [search] => Array
                (
                    [0] => event_date >= 1478548285
                )

            [limit] => 1
            [order_by] => Array
                (
                    [event_date] => 
                )

            [template] => item_list.tpl
            [module] => jrEvent
        )

    [3] => Array
        (
            [jrcore_list_function_call_is_active] => 1
            [search] => Array
                (
                    [0] => event_date >= 1478548285
                )

            [limit] => 1
            [order_by] => Array
                (
                    [event_date] => 
                )

            [template] => item_list.tpl
            [module] => jrEvent
        )

)
will tail server logs and report when i find omething


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
server logs only see 1 thing thats a maybe
note however that when i create new gallery no title pre-populates when it fails to save the data and i reload (not clearing cache nor doing hard refresh) it does prepopulate the title and then (at least on this try) it works

this error appeared in the log about when i got the invalid form data error
[code]PID:127166, kill: 1, begin time: 0, sent time: 0, req processed: 1
2016-11-07 19:05:03.775 [INFO] [163.172.65.58:22874] Abort request processing PID:127131, kill: 1, begin time: 0, sent time: 0, req processed: 64
2016-11-07 19:05:17.017 [NOTICE] [71.225.6.155:54538:HTTP2-4817] No request d elivery notification has been received from LSAPI process:127165, possible ru n away process, req processed: 4.
2016-11-07 19:05:17.017 [NOTICE] [71.225.6.155:54538:HTTP2-4817] Retry with n ew instance.
2016-11-07 19:05:22.664 [INFO] [71.225.6.155:60450] Abort request processing by PID:127156, kill: 1, begin time: 0, sent time: 0, req processed: 57
2016-11-07 19:05:29.958 [INFO] [71.225.6.155:60475] Abort request processing by PID:127186, kill: 1, begin time: 0, sent time: 0, req processed: 15
[code]

the run away process ..i think


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
that seems to be exactly the issue (with this) the title only re-populates onreload then and only then will it accept the data when i paste the title in it causes the error

sometimes it takes teaworkto figure it out haha but i do think its just a peice of the problem (i saw an update come out maybe u fixed it)


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
9 years ago
7,772 posts
Quote: .....m/modules/event.zip/.........
There should only be actual modules in the /modules directory. move the 'event.zip' out of there.

Tags