The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
I did a very bad thing...
Author Message
Reply with quote
Post I did a very bad thing... 
Hi folks,

I'm brand new to Agora Cart and apparantly ultra stupid..

I was editing the css files through the store manager and wasn't getting the extra javascript include to show up to my liking...so I pasted the js into the "this will be included in all store files headers..." box and I blew up the cart...now I only get the following error even when I try to login:

Error loading library ./admin_files/agora_user_lib.pl:

Can't modify constant item in postdecrement (--) at ./admin_files/agora_user_lib.pl line 123, near "
Please fix the error and try again.



Do I have to totally reinstall everything, or can I replace something??

Extreme oops and thanks for any help.

A

View user's profile Send private message
Reply with quote
Post  
Well, it looks like the problem is the ! marks in the javascript...
I would suggest putting the javascript into a separate file and then call it using a link instead of the full javascript in the file. This is more convenient, especially, if you use that same javascript on other pages of the site. That way the javascript is in one location and all of the files that use it access the 1 file.

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
how comfortable are you with editing prl files?
you have to edit 2 files by hand and do a 3 part sequence to get your manager back online.
if you can edit files then let me know and i'll tell you how. if not then pm me and i'll fix it for you.
d

Reply with quote
Post  
scottcrew wrote:
Well, it looks like the problem is the ! marks in the javascript...
I would suggest putting the javascript into a separate file and then call it using a link instead of the full javascript in the file. This is more convenient, especially, if you use that same javascript on other pages of the site. That way the javascript is in one location and all of the files that use it access the 1 file.

HTH!


Many thanks for the fix!

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum