Giter Club home page Giter Club logo

v2pagecache's People

Contributors

budgetneon avatar krschwab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

v2pagecache's Issues

activation error

Hi!

After installation when I want to edit the V2 Page Cache get this:

"Fatal error: Can't use method return value in write context in ...system/library/v2pagecache.php on line 249"

I installed the last version v2pagecache-1.1.4.ocmod.zip and my version of OpenCart is 2.2.0.0

Can you help me?
Thank you

Css issue after enabling v2 page cache module

I have followed all the steps as mentioned in https://github.com/budgetneon/v2pagecache.
When cache module is disable, everything works fine. But when i enable cache module, there is some problem with css in front end. I have attached screenshot for both of this cases.
image1
image2

Initially my site loooks as shown in image1.png i.e. When cache module is disable.
But when i enable cache module , my site looks as shown in image2.png.

Please help us.

it do not work on hhvm

Component Detected Status
PHP 5.6.99-hhvm supported (PHP 5.4 or greater)
SAPI srv unsupported (pagecache has not been tested with this SAPI)

how can i modify it to work?

small fix for 2.3

Please add } in 298 line
public function ServeFromCache() {
if (! $this->Cacheable()) {
return false;
}

error

hi,

have three stores under one admin panel. (multi store.) geting fallowing errors.
one store work with only one language and currency. other one with different language and currency. etc.

2016-08-25 15:51:49 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/system/library/v2pagecache.php:64) in /home/perfec63/public_html/index.php on line 196
2016-08-25 15:51:49 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/system/library/v2pagecache.php:64) in /home/perfec63/public_html/system/library/currency.php on line 45

Error on the configuration page

In the admin panel on the configuration page, I see the error:
Notice: Undefined index: default in /home/u411192975/public_html/system/library/v2pagecache.php on line 107Warning: array_key_exists() expects parameter 2 to be array, null given in /home/u411192975/public_html/system/library/v2pagecache.php on line 64Warning: array_key_exists() expects parameter 2 to be array, null given in /home/u411192975/public_html/system/library/v2pagecache.php on line 71Notice: Undefined index: default in /home/u411192975/public_html/system/library/v2pagecache.php on line 107

Module version is 1.1.5. Open cart version is 2.3.0.2, PHP 5.6 .21. And also page constantly reloading with the message "admin session expired? reloading page".

pagecache handling of cart is broken

When open cart moved from 2.0.x to 2.1.x, they got rid of the 'cart' session variable. This is what we were using to tell if the session had items in the cart, and therefore neither cache the request, nor serve a cached page for the request.

It looks like the only way to tell if there's items in the cart now is to query the database. That's too heavy of an operation to do with a pagecache, so I'm going to have to think about how to deal with this.

Until this is fixed, the pagecache is not going to be usable in production.

Language selection problem

Hi, I'm trying to use the plugin on OpenCart version 2.3.0.1. It seems to work fine EXCEPT, for language selection. The behavior seems that as soon as there is one page in cache, it's translated equivalent is unreachable; I click on the language selector, I can see in the cookie that the language is switching but...not the page.

some quenstion on journal theme?

Hi
I am trying install on my opencart 2.3.0.2
v2pagecache-oc23-1.3.ocmod
disable journal cache.

but i have some problem with that .
can you give me some adivce?

MY HOST INFORMATION AS BELOW

2017-09-21_112140

but its can not load the theme correctly.

how can i fix that ? can you give me some adivce?

http://104.199.252.15/

thank you.

Warning array_key_exists()

Hi) on my website only Russian language and the only currency the ruble. When the module is an error. How to fix? Thank you!
a4370-clip-26kb

Fatal error

I download and install " free page cache" but I have a problem when I clear entery cache on v2 page cache (admin panel) and I try to go into my page by Mobil phone just show a blank page with the next message:

Fatal error: SessionHandler::create_sid(): Cannot call default session handler in Unknown on line 0

This just happening on smartphones because on pc does not show this issue

Thanks

Pd: I using openers 2.3.0.2 and the last version of v2pagecache

Session Error OC 2.3.0.2

OC 2.3.0.2, PHP 7.1
Fatal error: SessionHandler::create_sid(): Cannot call default session handler in Unknown on line 0

Auto Caching

Hello,

This isn't a bug but I was wondering if there was a reason that we cant auto-cache using something like a sitemap to preload all of the pages using cron or similar time oriented trigger after an expiration of cached files?

If there wasn't a reason or it wasnt thought of I will personally look into it and contribute what I write.

Thanks

Account page is cached

Hi,

As i have gone through v2pagecache.php file and i have read that it does not cache /account pages. But It is being cached.

I can see comment in View source as below

cache protocol [http] host [abc.com] device [desktop] uri [host [abc.com] uri /account expires: 2016-10-19 00:09:07 Asia/Kolkata

And it created an issue while "Cancel" the order. Order was cancelled in backend but still showed "order placed". How can i avoid that?

Or shall i mention every URL in v2pagecache.php which does not need caching,

page cache error

after installing i get the following error
Notice: Undefined index: default in system/library/v2pagecache.php on line 107
Is there a sollution for it?

if add to cart items dosn't work all webpages with v2cache.

2.0.3.1 opencart
journal 2 (all enable journal cache)

add to cart 1 item after search webpage bat very slow 10x slow :(
remove cart after again v2cache works perfect!

please help me ?

I try all journal theme and default opencart.all module and extentions disable.
thank you

Little problem with opencart and page cache.

The problem was found on the platform opencart 2.1.0.2.1

For the example - http://kosmetiko.in.ua/

Let the buyer clicked "Buy" button and then pressed the "Continue Shopping", instead of "Order" and then accidentally closed the page.

After the opening of the main page in the basket buyer sees the "0" of goods and by clicking on the basket the inscription "The basket is empty" Without the inclusion of a cache in a basket buyer will immediately see the goods.
ย 
Everything comes back to normal (the basket is updated with the previously added goods) after moving to any other page or click on the "Buy" button.

Not working with MFP

Good day!
Mega Filter Pro not working with this module.
In console I get the same error every time:

"Uncaught SyntaxError: Unexpected token u in JSON at position 0"

How to fix it and make V2PageCache work with Mega Filter Pro?

PHP warnings After update

Hi, this is continuation of thread https://github.com/budgetneon/v2pagecache/issues/18

After changing to new file, There are many PHP warnings:

2016-10-18 21:28:40 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/index.php on line 240
2016-10-18 21:28:40 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:28:42 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/vqmod/vqcache/vq2-catalog_controller_module_lastviewed.php on line 32
2016-10-18 21:34:15 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/index.php on line 240
2016-10-18 21:34:15 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:34:16 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/vqmod/vqcache/vq2-catalog_controller_module_lastviewed.php on line 32
2016-10-18 21:39:51 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/index.php on line 240
2016-10-18 21:39:51 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:39:51 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/response.php on line 12
2016-10-18 21:43:56 -
2016-10-18 21:43:56 -
2016-10-18 21:45:27 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/index.php on line 240
2016-10-18 21:45:27 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:45:28 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/index.php on line 240
2016-10-18 21:45:28 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:45:29 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/vqmod/vqcache/vq2-catalog_controller_module_lastviewed.php on line 32
2016-10-18 21:45:32 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/index.php on line 240
2016-10-18 21:45:32 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:51:02 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/index.php on line 240
2016-10-18 21:51:02 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:51:04 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/vqmod/vqcache/vq2-catalog_controller_module_lastviewed.php on line 32

Admin Session Expired? Reloading Page

Hey,
Thank you very much for this extension, i installed as you mention in your manual for my Store OC 2.3.0.2, And i add the Index.php codes
BUT when i installed the extension and tried to use it, it give me a JS Alert popup, tellin me that "ADMIN SESSION EXPIRED. Reloading page" (SEE Capture.jpg)
And in the header i see some warning "Notice : Undefined index : default in ...system/library/v2pagecache.php . . . . (You can see the whole Warning and notice in the capture img)

Even when i click on OK , it reload the page and give same Alert again and again.
I Tried to delete my cache, playing with session timout . . . desactivating all my VQMOD, Desactivate some major extension but sme issue i got each time.

Plz help

Thank you very much
capture

ERROR status in admin panel

Hi, I'm testing opencart 2.2.0.0 with wampserver, after the installation, which show ERROR status in admin panel. And I need to add the following code and create an empty folder manually(from your instruction) to make it work, and I now cannont disable the cache, could you tell me what problems? (php ver.5.6.15, mysql5.7.9, apache 2.4.17) Thx, anyway.
"if ($pagecache->OkToCache()) {
$pagecache->CachePage($response);
} "

Cached real-time generated price list

Hello.
Please help remove from cache link "/index.php?route=xls/xls_pricelist" - this is real time generated XLS Price list in my website.
I made:
private $skip_urls= array(
'#/index.php?route=xls/xls_pricelist#',
...
but of course it is doesn't work for me.
Also, how to make that complete order remove quantity from stock? Also need clean cache only.

problem sidebar

1-journal sidebar (right)problem home page
2-oc sidebar problem (left)
3-home page same prodcuts no see ( interesting..

sametimes no seen :(

2.0.3.1

Do you disable caching when a user is logged in on all pages (products, categories)?

Hi All,
in your documentation, it is stated that "You shouldn't have to, for example, mark the 'account/' pages here, because we already disable caching when a user is logged in".
Do you disable caching in all other pages with products, categories, search results etc.?

Could we enable caching also for logged in users except of their accounts and cart?

Thank you in advance!

500 with cachebydevice on - NGINX fastcgi

Hi,
Clean install CentOS 7 with centminmod php7 and Opencart 2.3 and latest Journal (nothing else)
I'm getting 500 if I turn cachebydevice on. Without Journal and with cachebydevice off, everething cache is working.
In server log I see following:
2016/10/20 18:49:46 [error] 4280#4280: 164 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot redeclare V2PageCache::$cachebydevice in /usr/local/nginx/html/system/library/v2pagecache.php on line 36" while reading response header from upstream, client: 31.130.147., server: mysite.com, request: "GET /admin/index.php?route=extension/module/v2pagecache&token=snnpf6cDnDOOZSIDWW70AejydEG3MCBQ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "91.107.108.*"

mega filter pro dosn't work

mega filter pro
journal
oc 2.0.3.1

disable v2pagecache after check no problem.
enable v2pagecache after check dosn't work :(

can you help me ?

I 've Tried off or on cache megafilter in megafilter setting disable or enable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.