Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
I am trying to install a new gallery with cart function.
When i try to add a photo to the cart i get the message "Something Went Wrong (SyntaxError: Unexpected identifier)
Please try again later, or contact the photographer if this problem persists."
I am using the following versions:
Gallery 6.1.9
TTG BE Admin version: 2.0.5
CE4 Publisher version: 2.3.3
Cart Version: 3.1.4
the log file that i found gives the following mesage:
[19-Apr-2016 15:31:11] ERROR: Function name must be a string|#0 /home/deb97817/domains/store.drifting.media/public_html/ttg-be/framework/lib/Parsedown.php(931): Parsedown->element(Array)#1 /home/deb97817/domains/store.drifting.media/public_html/ttg-be/framework/lib/Parsedown.php(257): Parsedown->elements(Array)#2 /home/deb97817/domains/store.drifting.media/public_html/ttg-be/framework/lib/Parsedown.php(48): Parsedown->lines(Array)#3 /home/deb97817/domains/store.drifting.media/public_html/ttg-be/framework/lib/markdown.php(15): Parsedown->text('This is the *De...')#4 /home/deb97817/domains/store.drifting.media/public_html/ttg-be/cart/application/controllers/AjaxController.php(113): Markdown('This is the *De...')#5 /home/deb97817/domains/store.drifting.media/public_html/ttg-be/framework/controllers/Controller.php(41): AjaxController->getPurchaseOptions()#6 /home/deb97817/domains/store.drifting.media/public_html/ttg-be/framework/Framework.php(124): Controller->dispatch(Array)#7 /home/deb97817/domains/store.drifting.media/public_html/ttg-be/cart/index.php(25): Framework->route()#8 {main}|URL: /ttg-be/cart/index.php
can you give me any insights how to get it working?
Offline
there was another post recently that had to do with Parsedown. Make sure your using the very latest version of TTG-BE, version 2.0.5a
http://ce4.theturninggate.net/docs/doku … _changelog
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I think that is my problem, that i am using the 2.0.5 version.
now the next thing will be to download the new version.
i can only download the 2.0.5 version and not the 2.0.5a version?
Offline
I believe that is the latest version. Looks like it didn't get appended with the "a".
Give it a try. See the change log or the readme file for update instructions.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
don't think it is the 2.0.5a version
The readme.txt gives the following changelog.
Offline
Did you try it to see if it solves the problem?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
See this post on the same issue (scroll to the end):
http://community.theturninggate.net/vie … hp?id=6256
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I did not have time to check it, will do that tonight when i am back home
Offline
just check by re-downloading the file and updating the server.
My problem still exits. The Parsedown.php does not seem to be updated in my download!
It is still 1403 lines long.
* The older version of Parsedown.php (which is 1403 lines long) was compatible with PHP versions lower than 7.
* The newer version of Parsedown.php (which is about 1540 lines long) is compatible with PHP versions above 5.2. (This is something that I only recently became aware of)
this does indicate that my download is still the old version
Offline
Yeah, I just noticed that. I mentioned that to Ben in that other post.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
It looks like 205a hasn't been uploaded to the old store. I'm no longer able to update files there, so I've emailed this to Patrick.
Offline
Whew! I though perhaps my mind was going there for a minute
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thank you ben, will try it tonight when i am back home.
Offline
My apologies. I hadn't realized the old distribution platform hadn't been updated with the latest TTG-BE package. I've now made the necessary updates. Sorry for any inconvenience.
Offline
thank you all, it works now.
now i can stop head scratching wat i did wrong.
Offline
Pages: 1