Errors on 5.7 Installation
PermalinkI've been unable to get the current release of 5.7 to install on my server. I upload the fileset, and when I hit the site, rather than the install dialog screen I get the following.
Warning: require(__DIR__/bootstrap/configure.php) [function.require]: failed to open stream: No such file or directory in /home/nanook/public_html/concrete/dispatcher.php on line 15
Warning: require(__DIR__/bootstrap/configure.php) [function.require]: failed to open stream: No such file or directory in /home/nanook/public_html/concrete/dispatcher.php on line 15
Fatal error: require() [function.require]: Failed opening required '__DIR__/bootstrap/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nanook/public_html/concrete/dispatcher.php on line 15
I downloaded and unpacked the zip file twice just to make sure that I wasn't getting an incomplete install - and checked that short tags are enabled (they are). Any thoughts on what might be going on?
I have several instances of 5.6 running on this server with no issues, but I know that there are other requirements for 5.7. Is there anything other than short tags that need to be addressed?
Thanks much,
Bryce
This is how it is arranged in the installed directory structure - I don't think it is supposed to be in the root.
Thanks much.
Robert
Robert.Locklear@tpscomm.com
Or do i need to copi it to the main folder where the other version is and then RUN something from within my server. not sure what to do !
I was able to load it up fresh in my WAMP server no problems...looks great.
http://www.concrete5.org/documentation/installation/installing_conc...
What are you doing to update the database..
application
concrete
these other folders are empty.
packages
updates
Im trying it now..
Download the latest version of concrete5.
Upload that zip file to your webserver. You'll want to unzip the file in a web-accessible folder in your webspace. Usually this folder is public_html. If you want to run concrete5 in a subdirectory, you can create a new folder like "new-site" and unzip your concrete5 files in there.
After you unzip the file, it will add some new folders and an index.php.
The folders files/, config/, packages/ and updates/ will need to be writable by the web server process. This can mean that the folders will need to be "world writable", depending on your hosting environment.
Make sure mod_rewrite is setup and functioning. If you try and install Concrete5 and receive a 404 error, and the URL is "/install/-/configure," mod _ rewrite is probably not enabled. It is probably enabled and you should not need to worry about it.
Create a new MySQL database and a MySQL user account with full permissions on the database. Make a note of your database server (usually "localhost") as well as the database name, and the name and password for the database user that has access to that database.
Visit your site, "http://example.com", or "http://example.com/new-site/" if you extracted the concrete5 zip into a folder called "new-site".
You will see a helpful install screen like this:
Continue to install
If everything is "green" you can click the "Continue to Installation" button. If you see anything wrong, those items will have instructions on what you need to correct the issue. You may need to contact your webhost to get it done.
Next up, you'll see this screen:
Configuration screen
All of that is fairly self-explanatory. Be sure to use your real email address. If you forget your site administrator password, you can use your email to reset the site password.
It is possible to change everything listed there from within concrete5, except for your database details. But you should have no reason to change that once your site is up and running.
Ok, click "Install concrete5" and you should be all set! If something goes wrong, be sure to check out the install forum.
Next Steps
You should have a basic site going now with an admin user. If you haven't run through the Getting Started documentation, now is a good time to check that out.
Here are a couple things you might want to do right away:
Pretty URLs
Most people want this style of URL because it is important for search engine optimization. Basically by default concrete5 will create URLs like "http://www.example.com/index.php?cID=42" or "http://www.example.com/index.php/section/page/". The pretty URL for that page is "http://www.example.com/section/page/": no "index.php" in there.
To enable "Pretty URLs" you can just search "pretty url" in the intelligent search bar and that will get you to the right page. After you enable pretty URLs, you will have to add the provided rules to your site's .htaccess file. You may need to create the file if it does not exist. Without these rules in place, you will probably have 404 errors when browsing your site.
Internationalization
If you're going to use your site in a different language than English, you'll need to follow these instructions for everything to be in the right language.
Caching
By default, concrete5 has caching turned on. Most of the time, caching should be turned on because it will make your website's performance better. If you are a web developer and you want to start hacking on concrete5, you will want to turn this off.
To get to the right page, just search "cache settings" in the Intelligent Search. You'll want to disable "overrides cache" and "block cache".
If you overwrite your existing website, you will kill it. Websites cannot be upgraded to 5.7. They have to be rebuilt using 5.7. You should create a sub-folder off your root (or a sub-domain under your root) and put the 5.7 files in this new folder.
SQLSTATE[HY000] [1044] Access denied for user 'username'@'%' to database 'dbname'
1 and 1 gives :: localhost:/tmp/mysql5.sock
which causes error
so use
localhost;unix_socket=/tmp/mysql5.sock
and it should install!
I've been trying to get 5.7 installed for a few days. I'm in a clean folder on a Hosted site. I've got PHP 5.4 running. It goes through the install until almost the end and then throws up this error:
#0 /home4/sparish/public_html/concrete/concrete/src/Support/Facade/Facade.php(113): Imagine\Imagick\Imagine->load('\xFF\xD8\xFF\xE1\x02\x92Exif\x00\x00II*...') #1 /home4/sparish/public_html/concrete/concrete/src/File/Version.php(757): Concrete\Core\Support\Facade\Facade::__callStatic('load', Array) #2 /home4/sparish/public_html/concrete/concrete/src/File/Version.php(757): Concrete\Core\Support\Facade\Image::load('\xFF\xD8\xFF\xE1\x02\x92Exif\x00\x00II*...') #3 /home4/sparish/public_html/concrete/concrete/src/File/Type/Inspector/ImageInspector.php(23): Concrete\Core\File\Version->rescanThumbnails() #4 /home4/sparish/public_html/concrete/concrete/src/File/Version.php(867): Concrete\Core\File\Type\Inspector\ImageInspector->inspect(Object(Concrete\Core\File\Version)) #5 /home4/sparish/public_html/concrete/concrete/src/File/Importer.php(125): Concrete\Core\File\Version->refreshAttributes() #6 /home4/sparish/public_html/concrete/concrete/src/Package/StartingPointPackage.php(173): Concrete\Core\File\Importer->import('/home4/sparish/...', 'plants.jpg') #7 [internal function]: Concrete\Core\Package\StartingPointPackage->import_files() #8 /home4/sparish/public_html/concrete/concrete/controllers/install.php(238): call_user_func(Array) #9 [internal function]: Concrete\Controller\Install->run_routine('elemental_full', 'import_files') #10 /home4/sparish/public_html/concrete/concrete/src/Controller/AbstractController.php(149): call_user_func_array(Array, Array) #11 /home4/sparish/public_html/concrete/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #12 /home4/sparish/public_html/concrete/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #13 /home4/sparish/public_html/concrete/concrete/src/Support/Facade/Facade.php(116): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #14 /home4/sparish/public_html/concrete/concrete/src/Application/Application.php(281): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #15 /home4/sparish/public_html/concrete/concrete/src/Application/Application.php(281): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array) #16 /home4/sparish/public_html/concrete/concrete/bootstrap/start.php(180): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #17 /home4/sparish/public_html/concrete/concrete/dispatcher.php(36): require('/home4/sparish/...') #18 /home4/sparish/public_html/concrete/index.php(2): require('/home4/sparish/...') #19 {main}
I'm setting this up un a clients host, but I'm getting nearly the same error on my host (Dreamhost) as well.
Any help would be appreciated.
"Concrete5 runs best with at least 64MB of RAM. Your memory limit is currently 64MB. You may experience problems uploading and resizing large images, and may have to install concrete5 without sample content."
On my local host - using Mamp - when installing version 5.7.0.3 with 64M memory. I would not run if I selected creating a basic site - would hung when uploading images.
Then I upped memory to 64M and it would still run out of memory. So I resorted to upping memory size to 128M and I was able to run the install no problem.
"concrete5 runs best with at least 64MB of RAM. Your memory limit is currently 1MB"
which together with the fact, that it does not check for the limit correctly creates great confusion. I have expreimented and while the mentioned message gets displayed with option
memory_limit = 1200000000
in php.ini, when I lower it to
memory_limit = 1000000000
I get lovely response:
concrete5 runs best with at least 64MB of RAM. Your memory limit is currently 953MB.
cheers
Won't install on my mamp setup with PHP 5.4.19 ... I'll come back and try another day
It's possible to choose a different PHP version uisning the process shown here...
http://wphosting.tv/how-to-switch-between-several-php-versions-in-m...
I have just tried doing this though and it seems a variety of PHP versions still fail so I will update MAMP when I have nothing important on the to do list and try again then.
I can't install 5.7 too.
This is log from 5.7.0.4 installation window:
#0 /home/user/domains/domain.com/public_html/concrete/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(727): Doctrine\Common\Annotations\AnnotationException::semanticalError('The class "Doct...') #1 /home/user/domains/domain.com/public_html/concrete/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(641): Doctrine\Common\Annotations\DocParser->Annotation() #2 /home/user/domains/domain.com/public_html/concrete/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(334): Doctrine\Common\Annotations\DocParser->Annotations() #3 /home/user/domains/domain.com/public_html/concrete/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php(67): Doctrine\Common\Annotations\DocParser->parse('/**? * @Entity?...', 'class Concrete\...') #4 /home/user/domains/domain.com/public_html/concrete/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php(83): Doctrine\Common\Annotations\SimpleAnnotationReader->getClassAnnotations(Object(ReflectionClass)) #5 /home/user/domains/domain.com/public_html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php(63): Doctrine\Common\Annotations\CachedReader->getClassAnnotations(Object(ReflectionClass)) #6 /home/user/domains/domain.com/public_html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(117): Doctrine\ORM\Mapping\Driver\AnnotationDriver->loadMetadataForClass('Concrete\Core\F...', Object(Doctrine\ORM\Mapping\ClassMetadata)) #7 /home/user/domains/domain.com/public_html/concrete/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(318): Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata(Object(Doctrine\ORM\Mapping\ClassMetadata), NULL, false, Array) #8 /home/user/domains/domain.com/public_html/concrete/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(211): Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata('Concrete\Core\F...') #9 /home/user/domains/domain.com/public_html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(295): Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor('Concrete\Core\F...') #10 /home/user/domains/domain.com/public_html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1610): Doctrine\ORM\EntityManager->getClassMetadata('Concrete\Core\F...') #11 /home/user/domains/domain.com/public_html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1583): Doctrine\ORM\UnitOfWork->doPersist(Object(Concrete\Core\File\Image\Thumbnail\Type\Type), Array) #12 /home/user/domains/domain.com/public_html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(624): Doctrine\ORM\UnitOfWork->persist(Object(Concrete\Core\File\Image\Thumbnail\Type\Type)) #13 /home/user/domains/domain.com/public_html/concrete/src/File/Image/Thumbnail/Type/Type.php(180): Doctrine\ORM\EntityManager->persist(Object(Concrete\Core\File\Image\Thumbnail\Type\Type)) #14 /home/user/domains/domain.com/public_html/concrete/src/Backup/ContentImporter.php(643): Concrete\Core\File\Image\Thumbnail\Type\Type->save() #15 /home/user/domains/domain.com/public_html/concrete/src/Backup/ContentImporter.php(83): Concrete\Core\Backup\ContentImporter->importFileImportantThumbnailTypes(Object(SimpleXMLElement)) #16 /home/user/domains/domain.com/public_html/concrete/src/Backup/ContentImporter.php(60): Concrete\Core\Backup\ContentImporter->doImport(Object(SimpleXMLElement)) #17 /home/user/domains/domain.com/public_html/concrete/src/Package/StartingPointPackage.php(134): Concrete\Core\Backup\ContentImporter->importContentFile('/home/user/...') #18 [internal function]: Concrete\Core\Package\StartingPointPackage->install_themes() #19 /home/user/domains/domain.com/public_html/concrete/controllers/install.php(261): call_user_func(Array) #20 [internal function]: Concrete\Controller\Install->run_routine('elemental_full', 'install_themes') #21 /home/user/domains/domain.com/public_html/concrete/src/Controller/AbstractController.php(149): call_user_func_array(Array, Array) #22 /home/user/domains/domain.com/public_html/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #23 /home/user/domains/domain.com/public_html/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #24 /home/user/domains/domain.com/public_html/concrete/src/Support/Facade/Facade.php(116): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #25 /home/user/domains/domain.com/public_html/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #26 /home/user/domains/domain.com/public_html/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array) #27 /home/user/domains/domain.com/public_html/concrete/bootstrap/start.php(179): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #28 /home/user/domains/domain.com/public_html/concrete/dispatcher.php(36): require('/home/user/...') #29 /home/user/domains/domain.com/public_html/index.php(2): require('/home/user/...') #30 {main}
I've been trying to install 5.7.0.3 and earlier versions too.
Server uses PHP 5.3.28 and memory limit is 128M
It was working fine with C5 5.6.x.
I hope you can help.
This is a Doctrine limitation, and a Doctrine extension (which is lame, because they don't throw a very helpful exception in this case.)
That was the problem.
Help?
php_flag eaccelerator.enable 0 php_flag eaccelerator.optimizer 0
However, now when I try to load the install script, I get a pretty 500 error page, with no further details...
https://github.com/concrete5/concrete5-5.7.0/pull/1239...
You can also try applying those code changes found in that link above if that's something you're comfortable doing.
If it would help at all with your troubleshooting process, I can send you a full phpinfo() dump on my server, or any other helpful information. Just let me know how I can be of service.
Thank you again!
Yes, I installed 5.7.0.4, but I cannot get it to connect to the community and list it as a project and on to the templates and other resources etc.
Currently Installed
No packages have been installed.
Awaiting Installation
Nothing currently available to install.
I've watched the video, which is for an older version (which I've used on another website, and it worked seamlessly!!!!!!!!!) There are written instructions under the video and these seem to indicate that my webserver might not have CURL (whatever that means!) and if so, I'd have to do the add ons manually. How can I tell whether I have to do this or not???
I must say that this new version of concrete is VERY disappointing. It is not very user-friendly. All I want to do is add a Gallery block for my webpage. It shouldn't be this difficult.
Im getting this same installation error above, but then i can try to route it as well to the new MySQL database i have to create from scratch but it gets half way done and then provided me a error:
Install concrete5
Version 5.7.0.4
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
However i was wanting to install a FULL SITE where it already had all the example templates in place. My system is showing i should have 64megabits of RAM, but its at 32 mb. however its a shared server not a dedicated so i dont think i can change that anyways. I use Fatcow as my hosting company, any ideas how to get it to install the FULL VERSION SITE?
#0 /data/17/3/109/106/3109269/user/3466544/htdocs/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(811): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(PDOException), 'CREATE TABLE Co...') #1 [internal function]: Doctrine\DBAL\Connection->query('CREATE TABLE Co...') #2 /data/17/3/109/106/3109269/user/3466544/htdocs/concrete/src/Database/Connection/Connection.php(77): call_user_func_array('parent::query', Array) #3 /data/17/3/109/106/3109269/user/3466544/htdocs/concrete/src/Package/Package.php(178): Concrete\Core\Database\Connection\Connection->query('CREATE TABLE Co...') #4 /data/17/3/109/106/3109269/user/3466544/htdocs/concrete/src/Package/StartingPointPackage.php(190): Concrete\Core\Package\Package::installDB('/data/17/3/109/...') #5 [internal function]: Concrete\Core\Package\StartingPointPackage->install_database() #6 /data/17/3/109/106/3109269/user/3466544/htdocs/concrete/controllers/install.php(261): call_user_func(Array) #7 [internal function]: Concrete\Controller\Install->run_routine('elemental_full', 'install_databas...') #8 /data/17/3/109/106/3109269/user/3466544/htdocs/concrete/src/Controller/AbstractController.php(149): call_user_func_array(Array, Array) #9 /data/17/3/109/106/3109269/user/3466544/htdocs/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #10 /data/17/3/109/106/3109269/user/3466544/htdocs/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #11 /data/17/3/109/106/3109269/user/3466544/htdocs/concrete/src/Support/Facade/Facade.php(116): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #12 /data/17/3/109/106/3109269/user/3466544/htdocs/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #13 /data/17/3/109/106/3109269/user/3466544/htdocs/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array) #14 /data/17/3/109/106/3109269/user/3466544/htdocs/concrete/bootstrap/start.php(179): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #15 /data/17/3/109/106/3109269/user/3466544/htdocs/concrete/dispatcher.php(36): require('/data/17/3/109/...') #16 /data/17/3/109/106/3109269/user/3466544/htdocs/index.php(2): require('/data/17/3/109/...') #17 {main}
$js->message = $e->getTraceAsString();
to this:
$js->message = tc('InstallError', '%s.<br><br>Trace:<br>%s', $e->getMessage(), $e->getTraceAsString());
Then try and reinstall and post back what it says, you should get a much more helpful error message.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@YOURWEBSITE.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
installing 5.7.0.3 on a clean hosting, php5.4, mySQL5.1, accelerator disabled.
php memory_limit (MB): 256
still:
#0 /data/h/a/harmony-mama.sk/web/concrete/vendor/imagine/imagine/lib/Imagine/Image/AbstractImage.php(64): Imagine\Imagick\Image->resize(Object(Imagine\Image\Box), 'undefined') #1 /data/h/a/harmony-mama.sk/web/concrete/src/File/Version.php(780): Imagine\Image\AbstractImage->thumbnail(Object(Imagine\Image\Box), 'outbound') #2 /data/h/a/harmony-mama.sk/web/concrete/src/File/Type/Inspector/ImageInspector.php(23): Concrete\Core\File\Version->rescanThumbnails() #3 /data/h/a/harmony-mama.sk/web/concrete/src/File/Version.php(878): Concrete\Core\File\Type\Inspector\ImageInspector->inspect(Object(Concrete\Core\File\Version)) #4 /data/h/a/harmony-mama.sk/web/concrete/src/File/Importer.php(125): Concrete\Core\File\Version->refreshAttributes() #5 /data/h/a/harmony-mama.sk/web/concrete/src/Package/StartingPointPackage.php(174): Concrete\Core\File\Importer->import('/data/h/a/harmo...', 'mountains.jpg') #6 [internal function]: Concrete\Core\Package\StartingPointPackage->import_files() #7 /data/h/a/harmony-mama.sk/web/concrete/controllers/install.php(261): call_user_func(Array) #8 [internal function]: Concrete\Controller\Install->run_routine('elemental_full', 'import_files') #9 /data/h/a/harmony-mama.sk/web/concrete/src/Controller/AbstractController.php(149): call_user_func_array(Array, Array) #10 /data/h/a/harmony-mama.sk/web/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #11 /data/h/a/harmony-mama.sk/web/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #12 /data/h/a/harmony-mama.sk/web/concrete/src/Support/Facade/Facade.php(116): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #13 /data/h/a/harmony-mama.sk/web/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #14 /data/h/a/harmony-mama.sk/web/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array) #15 /data/h/a/harmony-mama.sk/web/concrete/bootstrap/start.php(179): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #16 /data/h/a/harmony-mama.sk/web/concrete/dispatcher.php(36): require('/data/h/a/harmo...') #17 /data/h/a/harmony-mama.sk/web/index.php(2): require('/data/h/a/harmo...') #18 {main}
thx a lot for any help,
merry xmas.
Matus
On 20 Aug 2014 17:28, "concrete5 Community" <discussions@concretecms.com>
wrote: