Fatal Error uploading an image
4 posts by 2 authors in: Forums > CMS Builder
Last Post: December 21, 2011 (RSS)
When I try to upload an image into the wysiwyg on all pages, this is the error I get:
Warning: require_once(lib/menus/default/uploadForm_functions.php): failed to open stream: No such file or directory in /data/10/0/103/119/918771/user/939622/htdocs/cmsAdmin/lib/menus/default/wysiwygUploads.php on line 3 Fatal error: require_once(): Failed opening required 'lib/menus/default/uploadForm_functions.php' (include_path='/data/10/0/103/119/918771/user/939622/htdocs/cmsAdmin:/data/10/0/103/119/918771/user/939622/htdocs/cmsAdmin/3rdParty:.:/usr/services/vux/lib/php') in /data/10/0/103/119/918771/user/939622/htdocs/cmsAdmin/lib/menus/default/wysiwygUploads.php on line 3
------------------------------------------
Here is the code from the top of the page:
<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php
// load viewer library
$libraryPath = 'cmsAdmin/lib/viewer_functions.php';
$dirsToCheck = array('/data/10/0/103/119/918771/user/939622/htdocs/','','../','../../','../../../');
foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }
// load records
list($home_improvementRecords, $home_improvementMetaData) = getRecords(array(
'tableName' => 'home_improvement',
'allowSearch' => '0',
'limit' => '1',
));
$home_improvementRecord = @$home_improvementRecords[0]; // get first record
// show error message if no matching record is found
if (!$home_improvementRecord) { dieWith404("Record not found!"); }
?>
---------------
What could be causing this?
Thanks.
Warning: require_once(lib/menus/default/uploadForm_functions.php): failed to open stream: No such file or directory in /data/10/0/103/119/918771/user/939622/htdocs/cmsAdmin/lib/menus/default/wysiwygUploads.php on line 3 Fatal error: require_once(): Failed opening required 'lib/menus/default/uploadForm_functions.php' (include_path='/data/10/0/103/119/918771/user/939622/htdocs/cmsAdmin:/data/10/0/103/119/918771/user/939622/htdocs/cmsAdmin/3rdParty:.:/usr/services/vux/lib/php') in /data/10/0/103/119/918771/user/939622/htdocs/cmsAdmin/lib/menus/default/wysiwygUploads.php on line 3
------------------------------------------
Here is the code from the top of the page:
<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php
// load viewer library
$libraryPath = 'cmsAdmin/lib/viewer_functions.php';
$dirsToCheck = array('/data/10/0/103/119/918771/user/939622/htdocs/','','../','../../','../../../');
foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }
// load records
list($home_improvementRecords, $home_improvementMetaData) = getRecords(array(
'tableName' => 'home_improvement',
'allowSearch' => '0',
'limit' => '1',
));
$home_improvementRecord = @$home_improvementRecords[0]; // get first record
// show error message if no matching record is found
if (!$home_improvementRecord) { dieWith404("Record not found!"); }
?>
---------------
What could be causing this?
Thanks.
Re: [randy1963] Fatal Error uploading an image
By Jason - December 21, 2011
Hi,
Are you uploading from the CMS or from a front end page?
Let us know and we'll look into this.
Thanks
Are you uploading from the CMS or from a front end page?
Let us know and we'll look into this.
Thanks
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] Fatal Error uploading an image
I am uploading from the CMS. I found the problem. A file was missing. When uploading the CMS builder files to the server, the uploadForm_functions.php file in the lib/menu/default directory was not uploaded. Now I am having a problem uploading that file - uploadForm_functions.php. When I upload the file, it will not completely upload and stops uploading at around 4.2K everytime. I have tried every possible way to upload the file but nothing works. This is the only file that will not upload.
Has anyone had this problem before?
Has anyone had this problem before?
Re: [randy1963] Fatal Error uploading an image
By Jason - December 21, 2011
Hi,
So you're not able to upload the file to your server? If you fill out a [url http://www.interactivetools.com/support]2nd Level Support[/url] request we can see if we are able to upload your CMS Builder files for you.
Thanks
So you're not able to upload the file to your server? If you fill out a [url http://www.interactivetools.com/support]2nd Level Support[/url] request we can see if we are able to upload your CMS Builder files for you.
Thanks
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/