After running the install.php the next errors show:
Warning:
loadobjectclass(/home/iab/public_html/myCampaignManagerincludes/SmartObjects/Objects/CampaignManager/SignIn.class.php):
failed to open stream: No such file or directory in
/home/iab/public_html/myCampaignManager/includes/SmartObjects/SmartObjectBrain.class.php
on line 45
Warning: loadobjectclass(): Failed opening
'/home/iab/public_html/myCampaignManagerincludes/SmartObjects/Objects/CampaignManager/SignIn.class.php'
for inclusion
(include_path='.:"/home/iab/public_html/myCampaignManager/"')
in
/home/iab/public_html/myCampaignManager/includes/SmartObjects/SmartObjectBrain.class.php
on line 45
Fatal error: Cannot instantiate non-existent class:
signin in
/home/iab/public_html/myCampaignManager/includes/SmartObjects/SmartObjectBrain.class.php
on line 35
Problem is the missing slash in the path variable send
to loadobjectclass();
A workaround: editing the siteConfig.php to include a
slash in front of the declared paths.
//////////////////////////////////////////
// SmartObject Configuration
define('SMART_OBJECT_LIBRARY_PATH', CM_INSTALL_DIR .
'/includes/SmartObjects/');
//////////////////////////////////////////
// Image Upload Configuration
define('JUPLOAD_UPLOAD_DIRECTORY', CM_INSTALL_DIR .
'/images/cm_thumbnails/');
Happy debugging !
regards
Maurits Lamers
maurits@weidestraat.nl
Logged In: NO
found the culprit:
the CM_INSTALL_DIR is declared without trailing slash.
this should be
define('CM_INSTALL_DIR','/path/to/myCampaignManager/');
instead of
define('CM_INSTALL_DIR','/path/to/myCampaignManager');
should be an easy fix.
regards
Maurits
Logged In: YES
user_id=1470055
Sorry, my mistake about the trailing slash.
Maybe the autodetect code can be altered to automaticly
include the trailing slash ?
Logged In: NO
I've seen this myself. What ever you're doing to write the
siteConfig.php, it is leaving the trailing / of the file path.
I've added the / to the CM_INSTALL_DIRECTORY and that seems
to work ok except the images don't show up!
Logged In: YES
user_id=1470055
Please be more specific about your configuration. It would be easier if you left
an e-mail address or created an sourceforge account.
You could try and look at the source of the site in your browser. Maybe that will
help locating the error.
regards
Maurits
Logged In: YES
user_id=1615092
Something else is happening for me.
I prepended the paths with the / and I got an error with a
double /, which meant I had to take one out of the:
define('CM_INSTALL_DIR','/library/applications/myCampaignManager');
On the end. But after that, I'm still getting:
Warning:
loadobjectclass(/library/applications/myCampaignManager/includes/SmartObjects/Objects/CampaignManager/SignIn.class.php)
[function.loadobjectclass]: failed to open stream: No such
file or directory in [path
removed]web/library/applications/myCampaignManager/includes/SmartObjects/SmartObjectBrain.class.php
on line 45
Warning: loadobjectclass() [function.include]: Failed
opening
'/library/applications/myCampaignManager/includes/SmartObjects/Objects/CampaignManager/SignIn.class.php'
for inclusion (include_path='.:/usr/local/lib/php') in [path
removed]web/library/applications/myCampaignManager/includes/SmartObjects/SmartObjectBrain.class.php
on line 45
Fatal error: Cannot instantiate non-existent class: signin
in [path
removed]web/library/applications/myCampaignManager/includes/SmartObjects/SmartObjectBrain.class.php
on line 35