I used Openshift and had a similar problem, but it was before ( in Codeigniter days) then switched to Pagodabox cause I think Openshift doesn't have mcrypt available or PHP it had an old version... I can't remenber exactly what was missing, but I even chatted with support and they said they were working on it... They never fixed it, so I switched... maybe it is fixed now it has been a while...
Yeah, I read an openshift support article saying they now had mycrpt for php 5.4, so I didn't use the 5.3 cartridge. Don't really care about openshift, but I get annoyed if I can't figure something out!
@websurfshop Are you deploying to OpenShift via Git? If so, can you post the output? I just setup Laravel on OpenShift a few days ago using the same cartridge, so I might be able to help.
I deleted the app, something funky with the caching on openshift. I deleted the routes.php file and every page would give a 404 error except the one not rendering correctly which stayed excatly the same. I couldn't find how to clear the cache on openshift.
Tried to deploy again to the free PHP 5.4 cartridge, same problem. This time I didn't use a quickstart, but pushed a perfectly working local git repo to the server. Using tail <appname> when requesting the page does not show any GET request for the blank page. Anyone know how to clear the openshift cache? I have tried
php artisan cache:clear php artisan dump-autoload
(master) ~/web/openshift$ git push
Counting objects: 11, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 549 bytes, done.
Total 6 (delta 4), reused 0 (delta 0)
remote: Stopping PHP 5.4 cartridge (Apache+mod_php)
remote: Waiting for stop to finish
remote: Waiting for stop to finish
remote: Building git ref 'master', commit 55b60cf
remote: Checking .openshift/pear.txt for PEAR dependency...
remote: You are already using composer version e77435cd0c984e2031d915a6b42648e7b284dd5c.
remote: Loading composer repositories with package information
remote: Installing dependencies (including require-dev)
remote: - Installing symfony/translation (v2.4.7)
remote: Loading from cache
remote:
remote: - Installing symfony/security-core (v2.4.7)
remote: Loading from cache
remote:
remote: - Installing psr/log (1.0.0)
remote: Loading from cache
remote:
remote: - Installing symfony/http-foundation (v2.4.7)
remote: Loading from cache
remote:
remote: - Installing symfony/event-dispatcher (v2.5.1)
remote: Loading from cache
remote:
remote: - Installing symfony/debug (v2.4.7)
remote: Loading from cache
remote:
remote: - Installing symfony/http-kernel (v2.4.7)
remote: Loading from cache
remote:
remote: - Installing symfony/routing (v2.4.7)
remote: Loading from cache
remote:
remote: - Installing symfony/process (v2.4.7)
remote: Loading from cache
remote:
remote: - Installing symfony/finder (v2.4.7)
remote: Loading from cache
remote:
remote: - Installing symfony/dom-crawler (v2.4.7)
remote: Loading from cache
remote:
remote: - Installing symfony/css-selector (v2.4.7)
remote: Loading from cache
remote:
remote: - Installing symfony/console (v2.4.7)
remote: Loading from cache
remote:
remote: - Installing symfony/browser-kit (v2.4.7)
remote: Loading from cache
remote:
remote: - Installing swiftmailer/swiftmailer (v5.2.1)
remote: Loading from cache
remote:
remote: - Installing stack/builder (v1.0.2)
remote: Loading from cache
remote:
remote: - Installing predis/predis (v0.8.5)
remote: Loading from cache
remote:
remote: - Installing phpseclib/phpseclib (0.3.7)
remote: Loading from cache
remote:
remote: - Installing patchwork/utf8 (v1.1.24)
remote: Loading from cache
remote:
remote: - Installing nesbot/carbon (1.9.0)
remote: Loading from cache
remote:
remote: - Installing monolog/monolog (1.10.0)
remote: Loading from cache
remote:
remote: - Installing nikic/php-parser (v0.9.4)
remote: Loading from cache
remote:
remote: - Installing jeremeamia/superclosure (1.0.1)
remote: Loading from cache
remote:
remote: - Installing filp/whoops (1.0.10)
remote: Loading from cache
remote:
remote: - Installing ircmaxell/password-compat (1.0.3)
remote: Loading from cache
remote:
remote: - Installing d11wtq/boris (v1.0.8)
remote: Loading from cache
remote:
remote: - Installing symfony/filesystem (v2.5.1)
remote: Loading from cache
remote:
remote: - Installing classpreloader/classpreloader (1.0.2)
remote: Loading from cache
remote:
remote: - Installing laravel/framework (v4.1.30)
remote: Loading from cache
remote:
remote: symfony/translation suggests installing symfony/config ()
remote: symfony/translation suggests installing symfony/yaml ()
remote: symfony/security-core suggests installing symfony/validator (For using the user password constraint)
remote: symfony/security-core suggests installing symfony/expression-language (For using the expression voter)
remote: symfony/event-dispatcher suggests installing symfony/dependency-injection ()
remote: symfony/http-kernel suggests installing symfony/class-loader ()
remote: symfony/http-kernel suggests installing symfony/config ()
remote: symfony/http-kernel suggests installing symfony/dependency-injection ()
remote: symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
remote: symfony/routing suggests installing symfony/yaml (For using the YAML loader)
remote: symfony/routing suggests installing symfony/expression-language (For using expression matching)
remote: symfony/routing suggests installing doctrine/annotations (For using the annotation loader)
remote: predis/predis suggests installing ext-phpiredis (Allows faster serialization and deserialization of the Redis protocol)
remote: phpseclib/phpseclib suggests installing pear-pear/PHP_Compat (Install PHP_Compat to get phpseclib working on PHP < 4.3.3.)
remote: monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
remote: monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server)
remote: monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
remote: monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
remote: monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
remote: monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
remote: monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
remote: laravel/framework suggests installing doctrine/dbal (Allow renaming columns and dropping SQLite columns.)
remote: Writing lock file
remote: Generating autoload files
remote: Generating optimized class loader
remote: Preparing build for deployment
remote: Deployment id is 9eca8a04
remote: Activating deployment
remote: #!/usr/bin/env php
remote: All settings correct for using Composer
remote: Downloading...
remote:
remote: Composer successfully installed to: /var/lib/openshift/53c004975973ca97d900038d/app-root/runtime/repo/composer.phar
remote: Use it: php composer.phar
remote: Loading composer repositories with package information
remote: Installing dependencies from lock file
remote: Nothing to install or update
remote: Generating autoload files
remote: Generating optimized class loader
remote: Generating autoload files
remote: Starting PHP 5.4 cartridge (Apache+mod_php)
remote: Application directory "php/" selected as DocumentRoot
remote: -------------------------
remote: Git Post-Receive Result: success
remote: Activation status: success
remote: Deployment completed with status: success
To ssh://[email protected]/~/git/lostcoastsurf.git/
a6e76f4..55b60cf master -> master
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community