View Full Version : Problem installing Cerberus 4.0
djoos
09-18-2007, 03:14 PM
After the "Setting up Workflow"-step, so at the creation of the workflow I get the following error which I can't really seem to solve:
_DevblocksClassLoadManager::require_once(Text/Password.php) [function.-DevblocksClassLoadManager-require-once]: failed to open stream: No such file or directory in [path to cerberus]\libs\devblocks\api\Engine.php on line 734
Fatal error: _DevblocksClassLoadManager::require_once() [function.require]: Failed opening required 'Text/Password.php' (include_path='C:\wamp\www\cerb4/libs/devblocks/libs;C:\wamp\www\cerb4/libs/devblocks/libs/ZendFramework;.;C:\php5\pear') in [path to cerberus]\libs\devblocks\api\Engine.php on line 734
Is someone who could help me out with this?
Thanks in advance!
Hildy
09-18-2007, 06:16 PM
_DevblocksClassLoadManager::require_once(Text/Password.php) [function.-DevblocksClassLoadManager-require-once]: failed to open stream: No such file or directory in [path to cerberus]\libs\devblocks\api\Engine.php on line 734
That's a missing PEAR module, but those dependancies were removed from the project by build 363. I'd recommend getting a fresh copy from SVN and starting over.
djoos
09-19-2007, 11:40 AM
Thank you Hildy!
Now I got the files by making use of SVN, and I'm going to try that now - but I'd recommend to update the ZIP (http://www.cerberusweb.com/downloads/cerb4-build-latest.zip), since that one is not the latest build apparently ;-)
djoos
09-19-2007, 12:45 PM
Works fine, thx!
jstanden
09-19-2007, 05:12 PM
but I'd recommend to update the ZIP ..., since that one is not the latest build apparently ;-)
Will do!
Glad to hear your problem was resolved. ;)
cellmonsters
09-22-2007, 05:49 AM
Hello there generous helpers lol.
I have been braking my head at this for some time now... i have no clue how to get this fixed even though i believe i made the changes in the php.ini file..
error message:
upload_tmp_dir is empty in your php.ini file. Please set it.
memory_limit must be 16M or larger in your php.ini file. Please increase it.
The 'MailParse' PHP extension is required. Please enable it.
this is after running the server checker.
Please help
jstanden
09-22-2007, 06:38 AM
Hey there!
Check your /cerb4/install/phpinfo.php page and make sure you're editing the right php.ini file. It should display the path at the top of that page.
Sometimes there is more than one, and you'll swear you did everything right. ;)
If it's the right path, make sure you restarted your webserver process (Apache, IIS, whatever the case may be). PHP needs that to re-read the php.ini config file.
If neither of those suggestions help, let me know and we'll keep troubleshooting.
Thanks!
cellmonsters
09-22-2007, 08:31 AM
hmm.. how would i restart my webserver? the phpinfo.php says the php.ini is located at Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini but i aint got the slightest cluie how to get here
Hildy
09-24-2007, 09:51 PM
How you restart your web server is going to be almost entirely dependant on what web server it is. :-) If you're on a hosted server, you could check with the hosting company. If it's your local, personal test box, you could always plug in a space heater... that seems to work for us. :-) (Joking aside, it's not difficult. If it's your own box, a reboot will do the trick, though it's not necessary.)
cellmonsters
09-25-2007, 03:36 AM
Ok.. so Hostmonster.. my hosting service went in and did the changes on the php.ini file for me.. even though i had done them already..
they were able to get rid of 1 error from the 3 that i was having.. the only thing that is keeping me from fully installing this software is the fact that i still get:
memory_limit must be 16M or larger in your php.ini file. Please increase it.
The 'MailParse' PHP extension is required. Please enable it
despite the fact that the memory_limit is set to 128M... and the mailparse has been enabled as per the hosting provider.
any other suggestions?
djoos
09-25-2007, 10:37 AM
Ok.. so Hostmonster.. my hosting service went in
memory_limit must be 16M or larger in your php.ini file. Please increase it.
The 'MailParse' PHP extension is required. Please enable it
What do you see when you view at a script with the phpinfo-command in it? This should give you an overview of what is enabled and what isn't...
Hildy
09-25-2007, 06:09 PM
When you load the /cerb4/install/phpinfo.php page, what does it tell you the memory_limit is? Also, there should be a section for "MailParse"; what does that say?
jstanden
09-25-2007, 10:26 PM
Can you provide the URL to your /cerb4/install/phpinfo.php page?
You can PM it to me to keep it private.
Thanks!
cellmonsters
09-28-2007, 10:41 PM
Hey there, I have sent you a private message./
cellmonsters
10-03-2007, 06:05 PM
Jeff. Did you get my private messages?
jstanden
10-04-2007, 09:45 PM
Hey there,
I did, thanks!
It looks like you don't have a memory_limit setting in your php.ini file. From the PHP documentation:
memory_limit integer (http://www.php.net/manual/en/language.types.integer.php) This sets the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent poorly written scripts for eating up all available memory on a server. Note that to have no memory limit, set this directive to -1.
Prior to PHP 5.2.1, in order to use this directive it had to be enabled at compile time by using -enable-memory-limit in the configure line. This was also required to define the functions memory_get_usage() (http://www.php.net/manual/en/function.memory-get-usage.php) and memory_get_peak_usage() (http://www.php.net/manual/en/function.memory-get-peak-usage.php).
I'll add a quick patch to handle the case where no memory_limit exists for you.
cellmonsters
10-04-2007, 09:56 PM
Thank you.. i will await for the patch.
jstanden
10-04-2007, 09:59 PM
Added to the roadmap:
http://www.wgmdev.com/jira/browse/CHD-208
Should be fixed within an hour.
Thanks!
jstanden
10-04-2007, 11:16 PM
Alright, Dan@WGM just pushed this fix into SVN.
Let us know if that works for you.
Thanks!
cellmonsters
10-05-2007, 07:09 PM
This seems to have worked by removing the memory limit error message. All i have to do now is figure out why the mailparse is not becoming enabled despite the fact that hostmonster did the changes for me lol.
jstanden
10-05-2007, 09:16 PM
This seems to have worked by removing the memory limit error message. All i have to do now is figure out why the mailparse is not becoming enabled despite the fact that hostmonster did the changes for me lol.
I'm glad we've knocked one error out. ;)
You could pass your host this link:
http://wiki.cerberusdemo.com/index.php/Installing_PHP_Mailparse
The bottom section catches a lot of people (not putting mbstring above mailparse).
Hope it helps!
cellmonsters
10-05-2007, 09:27 PM
you know its a funny thing that supposly hostmonster logged on to my accout and did the necessary changes. sadly it still does not work and they are not willing to offer any further support on it.
jstanden
10-05-2007, 10:16 PM
I could set you up with a beta install on one of our machines if you want.
That way you can at least keep up with the feedback/development while you decide what to do about your host.
cellmonsters
10-05-2007, 10:18 PM
That wouldnt be such a bad idea.. what other hosting provider would you suggest as well. I have seen some here that have been able to install it... I would surely switch if i new a hosting provider that will work great with cerb4
jstanden
10-05-2007, 10:28 PM
Alright! I'll get you set up with a hosted beta account so you can at least start looking through Cerb4.
As for hosts, I'll naturally pitch our own hosting service (http://www.cerberusweb.com/purchase.php). ;) It's just the easiest option for us to keep people up-to-date or troubleshoot.
Impartially, I know there are a lot of great hosts in the Cerberus community. It would probably make a great reference thread if you posted looking for recommendations. That kind of self-promotion for hosts is definitely acceptable (and we welcome the competition!).
cellmonsters
10-13-2007, 05:12 AM
Ok.. So i got my other hosting company to get my mailparse to work..
now i run into this error once i get to %69 percent.
Fatal error: Uncaught exception 'Swift_BadResponseException' with message 'Expected response code(s) [250] but got response [556 CLIENT AUTHENTICATION REQUIRED. USE ESMTP EHLO AND AUTH.]' in /home/mycell/public_html/cerb4/libs/devblocks/libs/swiftmailer/lib/Swift.php:250 Stack trace: #0 /home/mycell/public_html/cerb4/libs/devblocks/libs/swiftmailer/lib/Swift.php(310): Swift->assertCorrectResponse(Object(Swift_Events_Response Event), 250) #1 /home/mycell/public_html/cerb4/libs/devblocks/libs/swiftmailer/lib/Swift.php(373): Swift->command('MAIL FROM: <cs@...', 250) #2 /home/mycell/public_html/cerb4/install/index.php(777): Swift->send(Object(Swift_Message), Object(Swift_Address), Object(Swift_Address)) #3 {main} thrown in /home/mycell/public_html/cerb4/libs/devblocks/libs/swiftmailer/lib/Swift.php on line 250
I have tried to delete the whole files and run the setup again as well as created a fresh database but i still get the same error message.
My php version: 5.2.2
phpinfo= www.mycellmonsters.com/phpinfo.php.
Any help please.
jstanden
10-13-2007, 08:38 PM
Hey there!
Sorry to hear you're still having trouble. However, these fringe cases are helping improve the installer.
So this is at the "Incoming Mail" step, right?
It sounds like your host is using SMTP Authentication. You'll need to provide a username and password when setting up the Incoming Mail.
I'll make a roadmap task to make the installer SMTP step get to the 'DATA' point of the SMTP transaction rather than just connecting.
You can still get past this without a patch, just wipe the tables and restart the installer. On the SMTP step be sure to enable authentication and use the username and password provided by your host.
jstanden
10-13-2007, 08:41 PM
Added to roadmap:
http://www.wgmdev.com/jira/browse/CHD-220
cellmonsters
10-15-2007, 01:30 AM
Ok.. sO i did what you had suggested and i finally got it to finish up.. I got the email to log in with a password to use on the cerberus log in .. The only problem now is that everytime i log in with the my email and password i get a an HTTP 404 NOT FOUND error page... I have tried 3 times to do the installation over again and after getting the new emails with the log in password, i still get the HTTP 404 NOT FOUND error.
Any other suggestions... Im really excited to get this far in the installation lol.
jstanden
10-17-2007, 09:57 PM
The only problem now is that everytime i log in with the my email and password i get a an HTTP 404 NOT FOUND error page...
What's the URL in the browser when you get the 404? You can replace your hostname with "localhost" or something so we aren't exposing your real URL.
I'm more interested what URI it's looking up:
/index.php/tickets
or
/tickets
etc.
cellmonsters
10-17-2007, 10:25 PM
The URI that seems to be coming up after the log in is
www.mycellmonsters.com/cerb4/index.php/ once it gets to this page it shows the 404 error. if i type the index.php/login i am able to log in again but after that, i get thrown back to index.php/ which has the 404 error... if i write index.php/tickets it then shows a page saying that "Access denied.. Session Expired?"
cellmonsters
10-21-2007, 01:26 AM
Ok.. So i updated the cerberus help desk and sadly i get the same 404 error message.. honestly i do not know whats wrong.
spreston
10-23-2007, 06:56 AM
I installed cerb4 today and I get a similiar message. In fact cellmonsters, you may look to see if it is a 404 error or a 400 error.
My install is running on a Windows XP box with php5.2 and IIS. The install went flawlessly after I got the required php extensions installed. However, once installed, I can get to the initial login screen but when I enter my credentials I am rerouted to a page with HTTP 400 - Bad Request error.
The URL in the address bar is http://localhost/cerb4/index.php/
I did my install with a clean svn checkout.
Any thoughts on this would be greatly appreciated.
TravisT
10-24-2007, 10:39 PM
Do you have PHP display_errors enabled? Maybe give that a go, restart IIS and see what happens - any new feedback.
Also - I assume you are handling .php extensions witht he isapi5.ddl correct?
TR
jstanden
10-24-2007, 10:52 PM
Ok.. So i updated the cerberus help desk and sadly i get the same 404 error message.. honestly i do not know whats wrong.
Very strange. This sounds like a server configuration issue.
Are you able to provide us with any guest access to troubleshoot with you? It would be much quicker than black-box guessing. ;)
jstanden
10-24-2007, 10:56 PM
If you guys are getting 'Bad Request' errors, make sure you set up the ISAPI permissions in IIS.
From the 'IIS management console':
Server->Site->Web Service Extensions
Select your PHP ISAPI/CGI extension and hit 'Allow'.
(For posterity: http://www.cerberusweb.com/kb/article/000032)
cellmonsters
10-24-2007, 11:06 PM
Jeff, I sent you a private message.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.