Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Parse error: syntax error in quote.php on line 52 15 Feb 2014 02:26 #12196

  • foo42
  • foo42's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 1
Hello Chief,

i got the following error in sandbox and in the downloaded component which orrcure with the following error:

Parse error: syntax error, unexpected ']', expecting ',' or ';' in /home/cook/sites/www.j-cook.net/public_html/sandbox/cms32/administrator/components/com_demo10812/models/rules/quote.php on line 52

quote.php code:
/**
	* The regular expression to use in testing a form field value.
	*
	* @var string
	*/
	protected $regex = '^[^']*$';
The cooking creator must create a code which is vaild like this:
/**
	* The regular expression to use in testing a form field value.
	*
	* @var string
	*/
	protected $regex = '^[^\']*$';

Or:
	/**
	* The regular expression to use in testing a form field value.
	*
	* @var string
	*/
	protected $regex = "^[^']*$";

Thank you for fixing this in advance :)

Please Log in or Create an account to join the conversation.

Parse error: syntax error in quote.php on line 52 15 Feb 2014 11:27 #12197

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed I think. Not tested.
Please try again.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Parse error: syntax error in quote.php on line 52 16 Feb 2014 21:07 #12209

  • foo42
  • foo42's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 1
Thanks,

Problem has been fixed now.

Another question, is it normal, that everthing is shown in one form - even if you make more? (Administration site)?
For explantation: I created for example two forms for a view, but no seperation is shown if I look on a specifiec item?

Thanks for supporting :)

Foo42

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.101 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started