Open robforschools opened 7 years ago
Hi Rob,
please install the master branch instead. It's more stable and should install - fingers crossed ;)
Remember to specify it with dev-master, which is:
composer create-project --stability=dev campaignchain/campaignchain campaignchain dev-master
Please let me know if that helped?
Sandro
Hi Sandro,
Thanks for the quick response - so we hit the issue we were having before we moved to using the beta4...this is the error....
PHP Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /var/www/vhosts/XXXXX/campaignchain/vendor/friendsofsymfony/rest-bundle/DependencyInjection/FOSRestExtension.php on line 98
Script app/console campaignchain:update:kernel handling the campaignchain-setup event returned with error code 255 Script composer run-script campaignchain-setup handling the post-install-cmd event returned with error code 255
Any ideas?
I'm looking into this as we speak...
Please make sure your server runs PHP 5.5 or higher. The class constant was introduced in PHP 5.5.
Hi Sandro,
This is the command we used to install:
/opt/plesk/php/5.6/bin/php ./composer.phar create-project --stability=dev campaignchain/campaignchain campaignchain dev-master
The server does have PHP 5.5/5.6 and 7.0 installed, and when I replace the PHP path at the beginning of that command with simply PHP, it does then tell me that it can't run because php is out of date, so it definitely seems to be running using 5.6, rather than <5.5, if that makes sense?
Any other suggestions?
What does
php -v
output for you?
PHP 5.4.45 (cli) (built: Aug 23 2016 14:31:52) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.12, Copyright (c) 2002-2015, by ionCube Ltd.
But the server does also have the other versions on it too - so running it with the extended file path at the beginning gets me past the error about php being out of date.
I'm not sure the extended file path at the beginning helps. Could you please configure php.ini so that php -v
outputs a PHP version of 5.5. or higher? Then we're on the safe side and you could run the installation again.
Thanks Sandro,
Out of interest, did the 1.0.0 Beta.4 not have this reference to class in it? As that one installed without an issue, but hit the database table creation issue instead.
Before I ask our server guys to update the php version server wide, I wanted to be certain that I can say to them the beta one (which is installing), installs because there were no php5.5 functions in there.
Thanks Rob
Happy to be of help!
It's definitely worth it to update the PHP version so that you are able to install the latest version of CampaignChain. There's a big difference between the Beta 4 and what you have in CampaignChain as of today.
Hi Sandro,
Just to let you know, we're looking into having the server PHP version upgraded but can't get it done until Monday now. We're going to try again Monday afternoon and then may be back for more help if that's okay.
Thanks for your help so far.
Sure! Have a nice weekend!
@robforschools Did you make any progress? Let me know should you need further help.
Hi Sandro,
We've hit a bit of a delay as the server it's on will need downtime in order to upgrade that version of php - it'll be a week or so until we get chance to do it, so I'll let you know then, if that's OK?
Thanks, Rob
On 28/11/2016 07:58, Sandro Groganz wrote:
@robforschools https://github.com/robforschools Did you make any progress? Let me know should you need further help.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CampaignChain/campaignchain/issues/307#issuecomment-263205569, or mute the thread https://github.com/notifications/unsubscribe-auth/AWd1X1lsw0gUSwALDQ3rcR_z0Tc2sYo5ks5rComKgaJpZM4K2mqp.
Sure. The minimum required PHP version is now 5.5.9. See here for the details: https://github.com/CampaignChain/campaignchain/issues/310
Hello,
I am trying to install the CampaignChain Opensource code on our server, we get to the first step of the install wizard and when I click 'Next' it throws up an error within Symfony to say that the campaignchain_bundle table cannot be found. When I then check the database I created (and provided details for in the install) I get a blank database without any tables.
This is version 1.0.0-beta.4, in case that helps?
Thanks for any advice - looking forward to getting started with it!