failed to get realpath of: ./
3 posts by 2 authors in: Forums > CMS Builder
Last Post: July 5, 2011 (RSS)
By newB - July 5, 2011
Hi,
I just installed CMS builder and created a multi list. When i put the code in the php page and test it, i get this error: failed to get realpath of: ./
Any ideas?
I just installed CMS builder and created a multi list. When i put the code in the php page and test it, i get this error: failed to get realpath of: ./
Any ideas?
Re: [newB] failed to get realpath of: ./
By Dave - July 5, 2011
Hi newB,
Thanks for the post. We just spotted this as well. It's a bug and we'll fix it for the next release.
The quickest fix is as follows. Under: Admin > General update "Upload directory" to be a absolute filepath. You can do this by copying the "Program directory" value and a / before the upload value.
So for me my settings are as follows:
Program Directory: C:/wamp/www/sb/CMS Builder/cmsAdmin
Uploads Directory: uploads/
So I copy the value from program directory and add that with an slash to uploads directory:
Uploads Directory: C:/wamp/www/sb/CMS Builder/cmsAdmin/uploads/
Let me know if that works for you.
Thanks for the post. We just spotted this as well. It's a bug and we'll fix it for the next release.
The quickest fix is as follows. Under: Admin > General update "Upload directory" to be a absolute filepath. You can do this by copying the "Program directory" value and a / before the upload value.
So for me my settings are as follows:
Program Directory: C:/wamp/www/sb/CMS Builder/cmsAdmin
Uploads Directory: uploads/
So I copy the value from program directory and add that with an slash to uploads directory:
Uploads Directory: C:/wamp/www/sb/CMS Builder/cmsAdmin/uploads/
Let me know if that works for you.
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com
Re: [Dave] failed to get realpath of: ./
By newB - July 5, 2011
Thanks Dave! Followed your instruction, now its working!