hello,
I am trying to create a simple command line tool using the API
I found an example kept getting the error
PHP Fatal error: Class 'GalleryUtilities' not found in /home/gallery2/embed.php on line 45
so then i thought i would try one of the tools CommentBlaster and try to learn from it.
but when i download it and try to run it i get
[root@dwight gallery2]# php commentBlaster.php
PHP Fatal error: Class 'GalleryUtilities' not found in /home/gallery2/embed.php on line 45
Thanks for any help
Randy
Gallery 2.2.3
PHP 5.2.4
Apache 2.2.6
Database 5.0.37
Operating system Linux 2.6.21-1.3194.fc7
Posts: 32509
please check: FAQ: How can I make sure that my installation files are all intact?
embed.php includes main.php which includes init.inc right at the top (if embedded, require_once init.inc). and init.inc includes GalleryUtilities.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage