Warning and Fatal error when trying to install blocks on 5.6.0.2
Permalink
After playing a while with MAMP and concrete5 I have installed concrete on a web server. I want to add some blocks from the marketplace and copied a block like pauls_redirect or login to the blocks folder. Then I went to Dashboard/Block Types to install them and get this error:
Warning: require_once(/mnt/web4/d1/07/5545907/htdocs/portal-speechcon/concrete/blocks/pauls_redirect/controller.php) [function.require-once]: failed to open stream: No such file or directory in /mnt/web4/d1/07/5545907/htdocs/portal-speechcon/concrete/core/models/block_types.php on line 824
Fatal error: require_once() [function.require]: Failed opening required '/mnt/web4/d1/07/5545907/htdocs/portal-speechcon/concrete/blocks/pauls_redirect/controller.php' (include_path='/home/strato/http/premium/rid/59/07/5545907/htdocs/portal-speechcon/libraries/3rdparty:/mnt/web4/d1/07/5545907/htdocs/portal-speechcon/concrete/libraries/3rdparty:.:/opt/RZphp52/includes') in /mnt/web4/d1/07/5545907/htdocs/portal-speechcon/concrete/core/models/block_types.php on line 824
I have cleared the cache, but with no success. Does anyone has an idea?
These are the Environment infos:
# concrete5 Version
5.6.0.2
# concrete5 Packages
None
# concrete5 Overrides
blocks/pauls_redirect
# Server Software
Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r
# Server API
cgi-fcgi
# PHP Version
5.2.17
# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dbase, dom, exif, filter, ftp, gd, gettext, hash, iconv, id3, idn, imap, json, libxml, lzf, mailparse, mbstring, mcrypt, mhash, ming, mssql, mysql, mysqli, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, posix, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, standard, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, yats, zip, zlib.
# PHP Settings
max_execution_time - 0
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
memory_limit - 104M
post_max_size - 10M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_extra_uid - 0
safe_mode_gid - Off
safe_mode_include_dir - /opt/RZphp52/includes
sql.safe_mode - Off
upload_max_filesize - 10M
mssql.max_links - Unlimited
mssql.max_persistent - Unlimited
mssql.max_procs - Unlimited
mssql.textlimit - Server default
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
Warning: require_once(/mnt/web4/d1/07/5545907/htdocs/portal-speechcon/concrete/blocks/pauls_redirect/controller.php) [function.require-once]: failed to open stream: No such file or directory in /mnt/web4/d1/07/5545907/htdocs/portal-speechcon/concrete/core/models/block_types.php on line 824
Fatal error: require_once() [function.require]: Failed opening required '/mnt/web4/d1/07/5545907/htdocs/portal-speechcon/concrete/blocks/pauls_redirect/controller.php' (include_path='/home/strato/http/premium/rid/59/07/5545907/htdocs/portal-speechcon/libraries/3rdparty:/mnt/web4/d1/07/5545907/htdocs/portal-speechcon/concrete/libraries/3rdparty:.:/opt/RZphp52/includes') in /mnt/web4/d1/07/5545907/htdocs/portal-speechcon/concrete/core/models/block_types.php on line 824
I have cleared the cache, but with no success. Does anyone has an idea?
These are the Environment infos:
# concrete5 Version
5.6.0.2
# concrete5 Packages
None
# concrete5 Overrides
blocks/pauls_redirect
# Server Software
Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r
# Server API
cgi-fcgi
# PHP Version
5.2.17
# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dbase, dom, exif, filter, ftp, gd, gettext, hash, iconv, id3, idn, imap, json, libxml, lzf, mailparse, mbstring, mcrypt, mhash, ming, mssql, mysql, mysqli, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, posix, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, standard, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, yats, zip, zlib.
# PHP Settings
max_execution_time - 0
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
memory_limit - 104M
post_max_size - 10M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_extra_uid - 0
safe_mode_gid - Off
safe_mode_include_dir - /opt/RZphp52/includes
sql.safe_mode - Off
upload_max_filesize - 10M
mssql.max_links - Unlimited
mssql.max_persistent - Unlimited
mssql.max_procs - Unlimited
mssql.textlimit - Server default
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
Okay, I was really stupid. You have to copy the blocks in "packages" and not "blocks". Then it worked without problems.
Hey,
I have the same problem with MAMP/OS Lion on localhost when I try to install a block (or to write one) in blocks in webroot (not in concrete/blocks , the core)
And I have the same error.
The documentation specifies to copy own blocks in blocks not in package doesn't it ?
Then I tried to do the same on PC/windows/Wamp
And it works like a charm as the doc says.
I have the same problem with MAMP/OS Lion on localhost when I try to install a block (or to write one) in blocks in webroot (not in concrete/blocks , the core)
And I have the same error.
The documentation specifies to copy own blocks in blocks not in package doesn't it ?
Then I tried to do the same on PC/windows/Wamp
And it works like a charm as the doc says.
When you warp your block in a package then you have to use the packages folder. Otherwise the blocks folder is the right location.
Did you try to install it in /packages?
Did you try to install it in /packages?
Hello,
Yes when I wrap it in package I have to use Packages.
But i use my blocks in the webroot/blocks folder not in package.
After 2 days on this I decided to give up. My conclusion is there is a problem in the process inside C5. Because I reinstall from the scratch all the stuff on a Pc and its works.
Meanwhile on my Mac, there is a problem.
I have another thread open on it. I go deeper in the code and I see that C5 do not make something.
But unable to say why.
http://www.concrete5.org/community/forums/customizing_c5/creating-n...
Yes when I wrap it in package I have to use Packages.
But i use my blocks in the webroot/blocks folder not in package.
After 2 days on this I decided to give up. My conclusion is there is a problem in the process inside C5. Because I reinstall from the scratch all the stuff on a Pc and its works.
Meanwhile on my Mac, there is a problem.
I have another thread open on it. I go deeper in the code and I see that C5 do not make something.
But unable to say why.
http://www.concrete5.org/community/forums/customizing_c5/creating-n...
It seemed to be a bug in 5.6.0.2