Search found 84 matches

Search found 84 matches

Re: Post product on Facebook, want product displayed not ind

Hi there.

Love it!

Alas, I'm getting this error on every page:
Fatal error: Cannot redeclare Document::$ogmetas in /home/atit/public_html/vqmod/vqcache/vq2-system_storage_modification_system_library_document.php on line 13

I must've gone wrong somewhere?

Jump to post
  • Mon Feb 08, 2016 3:47 pm
  • Replies 3
  • Views 459
Re: All changes I'm making to .tpl files are not taking effe

Apologies, I had to get busy lol. I sorted it out. It was clearing the cache from an old xml I believe. That is: Admin > Modifications > Clear Cache and then if you have other ocmod's installed, click refresh if you to make sure they will work again. Because clearing the cache removes all .xml chang...

Jump to post
  • Mon Feb 08, 2016 12:04 pm
  • Replies 11
  • Views 2701
Re: Parse error: syntax error, unexpected '$this' (T_VARIABL

This is where I'm at at the moment.

Product.tpl is working and showing "Sold: %s" correctly on the products page.

Featured.tpl is not working, and with testing has shown me that $solditems is not set.

Jump to post
  • Sun Feb 07, 2016 8:33 pm
  • Replies 36
  • Views 5485
Re: Parse error: syntax error, unexpected '$this' (T_VARIABL

Found something. When I uploaded the original .xml I must've uploaded the attached file. <modification> <id>VQMod Ecomteck - Sold Items - Number Bought the product</id> <version>1.0.0</version> <vqmver>2.3.0</vqmver> <author>ecomteck@gmail.com (http://ecomteck.com)</author> <file path="catalog/langu...

Jump to post
  • Sun Feb 07, 2016 6:31 pm
  • Replies 36
  • Views 5485
Re: Parse error: syntax error, unexpected '$this' (T_VARIABL

Oh I see.

So OCMOD and VQMOD, I thought they were the same except, VQMOD you upload manually, and OCMOD you can install using the Extension Installer?

Are they very different or is that the only difference at this point?

Jump to post
  • Sun Feb 07, 2016 5:16 pm
  • Replies 36
  • Views 5485
Post product on Facebook, want product displayed not index

Hey all :)

I'm guessing I'd have to declare the ogmeta tags as a variable and pull the info from product descriptions, images and etc.

Is there a mod for this cause I can't find it?

Else, I'd be keen to try make one :)

Opencart 2.1.0.1

Thanks!

Jump to post
  • Sun Feb 07, 2016 11:12 am
  • Replies 3
  • Views 459
Re: Parse error: syntax error, unexpected '$this' (T_VARIABL

Yea I checked, it is installed correctly. You cannot install vqmod XML using OCMOD installer, all you need to is just copy and paste the XML into the vqmod/xml folder I don't understand, the ocmod.xml file uploaded and installed fine, and then did work, but I cannot figure out why. The other thing I...

Jump to post
  • Sun Feb 07, 2016 9:19 am
  • Replies 36
  • Views 5485
Re: Parse error: syntax error, unexpected '$this' (T_VARIABL

Yea I did use github's latest VQmod, and yes I did import it using the Extension Installer. Yes I agree, this is odd lol. The site is http://www.atit.nz and I've cleared the cache etc, disabled and re-enabled the .xml modification and it still works. You know you're a coder when you try to find out ...

Jump to post
  • Sat Feb 06, 2016 8:28 pm
  • Replies 36
  • Views 5485
Re: Major issue: Can't post anything with new captcha!!!!!

I've been posting in .xml files and uploading.

I've tried everything. Waiting, clicking fast. After clicking "Submit" it just takes me back to writing a new post with the blank editable region.

I find the error is only when I post code snippets though.

Jump to post
  • Sat Feb 06, 2016 6:04 pm
  • Replies 3
  • Views 1310
Re: Parse error: syntax error, unexpected '$this' (T_VARIABL

opencart website is broken and won't let me post.

I'm going to try post my words inside a file and attach it :)

Jump to post
  • Sat Feb 06, 2016 5:45 pm
  • Replies 36
  • Views 5485
Re: Parse error: syntax error, unexpected '$this' (T_VARIABL

It gave the original error : o

Code: Select all

Parse error: syntax error, unexpected '$this' (T_VARIABLE), expecting function (T_FUNCTION) in /home/atit/public_html/system/storage/modification/catalog/controller/product/product.php on line 22
hmm.

Jump to post
  • Sat Feb 06, 2016 5:31 pm
  • Replies 36
  • Views 5485
Re: Parse error: syntax error, unexpected '$this' (T_VARIABL

with no modifcation to product.php however, it is showing the code twice:

Code: Select all

Stock: Pre-Order
This item has been sold: 1 times
This item has been sold: 1 times
$13.90
?:)

Sorry I couldn't post in 1 piece because captcha is broken lol.

Jump to post
  • Sat Feb 06, 2016 4:02 pm
  • Replies 36
  • Views 5485
Re: Parse error: syntax error, unexpected '$this' (T_VARIABL

<modification> <name><![CDATA[<font color="#0000"><b>Ecomteck - Sold Items - Number Bought The Product</font>]]></name> <version>2.3.0</version> <link>http://ecomteck.com</link> <author>ecomteck@gmail.com</author> <code>ec_sold_items</code> <file path="catalog/view/theme/*/template/product/product....

Jump to post
  • Sat Feb 06, 2016 4:02 pm
  • Replies 36
  • Views 5485
Re: Parse error: syntax error, unexpected '$this' (T_VARIABL

I have it, nearly!

system/storage/modification/catalog/view/theme/default/template/product/product.tpl exists. Is it supposed to?

and I only have this now:

Jump to post
  • Sat Feb 06, 2016 4:01 pm
  • Replies 36
  • Views 5485
Major issue: Can't post anything with new captcha!!!!!

You're captcha system isn't working properly. I cannot post anything with code in it. It deletes every 3rd or so time, everything that I have written. And now it asks for images, I click on them to verify I'm human, it says "you're human!" and just sits there, and does not post or change pages. Ther...

Jump to post
  • Sat Feb 06, 2016 3:59 pm
  • Replies 3
  • Views 1310
Re: Parse error: syntax error, unexpected '$this' (T_VARIABL

Captcha is broken and won't let me paste anything with code in it.

Jump to post
  • Sat Feb 06, 2016 3:54 pm
  • Replies 36
  • Views 5485

Search found 84 matches