Concrete 5 site totally messed up by last update
PermalinkAny suggestions or similar situations?

--
~ Brian
Sent from my iPhone 4
The following errors occurred when attempting to process your request:
1
Getting this error when I try to install a different theme:
marketplace/connect/-/download_remote/orjWtQmNEy87WgnDwbzPnAoeg6OPPYXcAXQQ86QK16NhzN5z6fYUaulVQCKkyYeF/650/?csiURL=http%3A%2F%2Fwww.smonct.org) [function.copy]: failed to open stream: no suitable wrapper could be found in /homepages/19/d192608792/htdocs/smonct/updates/concrete5.4.2/concrete/libraries/marketplace.php on line 85
Warning: Cannot modify header information - headers already sent by (output started at /homepages/19/d192608792/htdocs/smonct/updates/concrete5.4.2/concrete/libraries/marketplace.php:85) in /homepages/19/d192608792/htdocs/smonct/updates/concrete5.4.2
The following errors occurred when attempting to process your request:
1
-----Original Message-----
From: Concrete5 Community [mailto:-------@concretecms.com]
Sent: Thursday, September 01, 2011 5:45 PM
To: -----@gmail.com
Subject: Concrete 5 site totally messed up by last update: Concrete 5 site totally messed up by last update
Thanks!
5.4.2
# concrete5 Packages
Address Vcard (1.0), All In: The Advanced User Import Add-on (1.1), Autonav Exclude Subpages (1.1), Column Cruiser (1.1), Contact Directory (1.0.2), Content Around Image (1.23), CorporateAmerica Theme (1.3), Earthtones Denim (1.01), Easy News (1.1), eCommerce (2.0.8), Example FAQ (1.1.1), Expander (1.0.1), Extended Form (2.4), Facebook Like Button (1.0), Featuring Theme (1.0), Galleria image gallery (2.0), Get Directions (1.0b), Google Map (Premium) (2.0), Grunge Columns (1.01), Herent Config Pages (1.0.2), Highslide Web Albums (2.1.1), Image Caption (1.5.1), Internationalization (1.0.2), Login (1.1), Mail Monkey (1.1.4), Music (1.0.3), Paypal Donations Box (1.0.1), Pluralism (1.1), Popup (1.15), Pro Events (4.0.5), Pro News (1.4.2), Round Corners On Anything (1.2.4), ShareThis (1.0), Simple Blue (1.1), Simple Forums (1.0.7), Sisimizi's Download Folder (1.0), Social Icons (1.1), Splash Theme (1.0), tnSpacer (1.2), Touching (1.0), Traffic & Statistics (2.38), User Info (1.9), Vimeo Player (1.0.3), Who's Online (1.1), WP Audio Player (1.0.1).
# concrete5 Overrides
None
# Server Software
Apache
# Server API
cgi
# PHP Version
5.2.17
# PHP Extensions
bcmath, bz2, calendar, cgi, ctype, curl, date, dba, dbase, dom, exif, filter, ftp, gd, gettext, hash, iconv, idn, imap, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, posix, Reflection, session, shmop, SimpleXML, soap, SPL, SQLite, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib.
# PHP Settings
log_errors_max_len - 1024
max_execution_time - 5
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
memory_limit - 128M
post_max_size - 200M
safe_mode - Off
safe_mode_exec_dir - /usr/local/php/bin
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 200M
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
Thanks for any help you can provide.
~ Brian
I see the url that's it's trying to download from as:
/marketplace/connect/-/download_remote
when it should be:
http://www.concrete5.org/marketplace/connect/-/download_remote...
Did you add anything into your config/site.php that may have affected this?
If not as a workaround, try adding this line to your config/site.php and see if it helps:
define('CONCRETE5_ORG_URL', 'http://www.concrete5.org');
- Oh, I'll also throw in the mandatory: clear your site cache, turn caching off and also clear your browser cache..
- Go into the addon and make sure you haven't wiped the value for the concrete5.org url.
Warning: copy() [function.copy]: URL file-access is disabled in the server configuration in /homepages/19/d192608792/htdocs/smonct/updates/concrete5.4.2/concrete/libraries/marketplace.php on line 85
Warning: copy(http://www.concrete5.org/marketplace/connect/-/download_remote/orjWtQmNEy87WgnDwbzPnAoeg6OPPYXcAXQQ86QK16NhzN5z6fYUaulVQCKkyYeF/650/?csiURL=http%3A%2F%2Fwww.smonct.org) [function.copy]: failed to open stream: no suitable wrapper could be found in /homepages/19/d192608792/htdocs/smonct/updates/concrete5.4.2/concrete/libraries/marketplace.php on line 85
Warning: Cannot modify header information - headers already sent by (output started at /homepages/19/d192608792/htdocs/smonct/updates/concrete5.4.2/concrete/libraries/marketplace.php:85) in /homepages/19/d192608792/htdocs/smonct/updates/concrete5.4.2/concrete/libraries/view.php on line 791
"URL file-access is disabled in the server configuration"
I'm guessing that your something has changed on your server since you were last able to interact with the marketplace.
Here's a script that I wrote that will check to see if your server can open remote files.
copy this code to a new file:
/tools/url_access_test.php
<?php $file = Loader::helper('file'); $file = new FileHelper(); $res = $file->getContents('http://www.concrete5.org/robots.txt'); echo "Contents: <br/><pre>"; echo var_dump($res); echo "</pre>"; echo "allow_url_fopen: ". ini_get('allow_url_fopen')."<br/><br/>"; echo "curl_init: ". function_exists('curl_init')."<br/>"; echo "done";
Then pull it up at:http://[your site dot com]/index.php/tools/url_access_test
- you should see something similar to the attached screenshot.
Contents:
string(155) "User-agent: *
Disallow: /private
Disallow: /search
Disallow: /search_community
Disallow: /search_members
Disallow: /members
Disallow: /search_documentation"
allow_url_fopen: 0
curl_init: 1
done
Here's the entry from the changelog that addresses this issue:
http://www.concrete5.org/documentation/background/version_history/5...
"Fixed bug where add-ons wouldn't download under certain circumstances."
You can download the release here:
http://www.concrete5.org/developers/downloads/...
unzip that, name the directory concrete5.4.2.1, then place it in your site's /updates/ directory so you end up with:
/updates/concrete5.4.2.1/
Then it should show up as available to upgrade in your dashboard.