I was Updating the Category Prices and my site went down.
Parse error: syntax error, unexpected ';' in /home/public_html/application.php on line 109
I was Updating the Category Prices and my site went down.
Parse error: syntax error, unexpected ';' in /home/public_html/application.php on line 109
Last edited by eltony; 01-27-2008 at 08:23 AM.
I don't know if it's a Bug., But I am going to share it. So if anybody alse gets this...
I was Updating the Category Prices on the Admin Panel> Option > Setup
and my whole site went down with the following error
Parse error: syntax error, unexpected ';' in /home/public_html/application.php on line 109
after I left the
Additional categories pricing factor blank
application.php on line 109
$additional_category_price = ;
Last edited by eltony; 01-27-2008 at 08:22 AM.
Set to 1
Code:$additional_category_price = 1;
Not a bug, it is an input error. Moved to appropriate forum.
Does 1 increase the amount of the Sponsored / Premium Listing by an additional dollar if they choose mutliple categories?? I've set one of my other directories to 0 so the Sponsored and Premium listings wont increase in price based upon categories...
I think the important part is that there is definiately a numerical value in there.
FSGDAG | IndexU Hosting | Owner
Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
Follow Us On Twitter | FaceBook Profile | YouTube Videos
Yes there must be a value there, if left blank this will cause an error. This has been posted about on the forum and on my blog previously.
Of course the ability to leave this blank may be called a bug, but removing the value isn't a bug, it's a user input issue. There should be a default value (stored in the database) in case it is changed to be blank.
You set 1, then if the submitter select additional category, the price will be increased.
Last edited by dody; 01-27-2008 at 08:59 PM.