21281 Posts in 5729 Topics by 2600 members
General Questions
SilverStripe Forums » General Questions » [Notice] Use of undefined constant SAPPHIRE_DIR - assumed 'SAPPHIRE_DIR'
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 684 Views |
-
[Notice] Use of undefined constant SAPPHIRE_DIR - assumed 'SAPPHIRE_DIR'

26 October 2010 at 5:22pm
Hi,
I just completed the installation of SilverStripe the site working fine but inside the admin
i can't edit albumn create directory and upload photo as well, I always got the following error:[Notice] Use of undefined constant SAPPHIRE_DIR - assumed 'SAPPHIRE_DIR'
GET /admin/assets/EditForm/field/Files/upload
Line 767 in /home/cambod93/public_html/dataobject_manager/code/DataObjectManager.phpI really appreciated if someone know this issue.
Regards,
Bunheng
http://www.cambodia-wildlife-adventures.org -
Re: [Notice] Use of undefined constant SAPPHIRE_DIR - assumed 'SAPPHIRE_DIR'

26 October 2010 at 6:39pm
You'd best ask that in the DataObjectManager forum, as it looks like it comes from that module.
Sean
-
Re: [Notice] Use of undefined constant SAPPHIRE_DIR - assumed 'SAPPHIRE_DIR'

27 October 2010 at 6:30am Last edited: 3 November 2010 4:08pm
Hi Sean,
Thanks for your quick reply, I post the same topic at DOM, but there is no response yet. Is it any possible problem from the hosting? I am running XAMPP it was working fine in my machine.
Thanks.
BunhengResolved
Because I put
Director::set_environment_type("dev")
just take it out now working fine.
| 684 Views | ||
|
Page:
1
|
Go to Top |

