Closed GoogleCodeExporter closed 9 years ago
vQmod already does this. If it's not matching, then it's going to be due to
your DIRECTORY_SEPARATOR being incorrect
Original comment by DJG6...@gmail.com
on 23 Mar 2013 at 6:04
I am using the vqmod standard version (not OpenCart) and I am trying to
implemented it as a Mantis plugin. I attached here a sample project that
triggers this problem. Unzip it into your webroot (on Windows machine) and
visit the index.php via browser. It will displayed correctly but if you inspect
the cache file in vqcache folder, you will find an zero-byte file. This is
because vqmod tries to generate the cache filename as for example
vq2-C:_xampp_htdocs_xxx.php but it will fail because colon (:) is not a valid
character for naming a file. After I made the suggested changes, the cache file
can then be found in vqcache folder.
It probably has to do with the location of the vqmod folder as in OpenCart it
is resides in the root directory. But I need to adhere to Mantis file structure
therefore I have to put it under the plugins folder and set the path when
instantiate ($vqmod = new VQMod($vqmod_home)) instead of instantiate with empty
parameter. I believe it has nothing to do with DIRECTORY_SEPARATOR. Appreciate
if you can comment on this.
Original comment by kokhwa....@gmail.com
on 24 Mar 2013 at 10:23
Attachments:
Original issue reported on code.google.com by
kokhwa....@gmail.com
on 23 Mar 2013 at 12:34Attachments: