Concrete 5 site totally messed up by last update

Permalink
Is anyone else's site having issues after the latest update? I can't update any addons, get an error and then the site when using the Corporate America theme totally shuts down and just lists a whole bunch of errors. It also wouldn't allow me to back up prior to the update. I can move to another theme and everything is there, but maybe the Corporate America theme is the culprit.

Any suggestions or similar situations?

 
Adreco replied on at Permalink Reply
Adreco
What browser are you using? I've noticed some strange display issues while in Firefox that don't show in Chrome since upgrading one site
bjwebdesign replied on at Permalink Reply
I use Firefox primarily, but checked in safari and IE.

--
~ Brian

Sent from my iPhone 4
Adreco replied on at Permalink Reply
Adreco
I'm going to upgrade to the new point release tonight and see if my issues clear up. I'll post findings
bjwebdesign replied on at Permalink Reply
Anytime I try to upgrade an add on I get this error:

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
bjwebdesign replied on at Permalink Reply
Anytime I try to upgrade an add on I get this error:

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
bjwebdesign replied on at Permalink Reply
Anyone have any ideas on this issue? I really need to get my site back in working order.

Thanks!
ryan replied on at Permalink Reply
ryan
Can you post your environment info from: Dashboard > Settings Debug?
bjwebdesign replied on at Permalink Reply
# concrete5 Version
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
bjwebdesign replied on at Permalink Reply
Ryan,

Thanks for any help you can provide.

~ Brian
ryan replied on at Permalink Reply
ryan
So, the error looks like it's trying to download a file from the marketplace, but the url it's looking for is not a full url (assuming that the entire contents of the error was pasted into the forum post).

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..
ryan replied on at Permalink Reply
ryan
Also, as I look closer at your environment info, I see you have the HereNT Config Pages addon installed. - This would certainly allow you to cause this problem with a few clicks.

- Go into the addon and make sure you haven't wiped the value for the concrete5.org url.
bjwebdesign replied on at Permalink Reply
I haven't changed anything in the config add on.
bjwebdesign replied on at Permalink Reply
I don't think it copied all of the code for the error. Here is the complete code:

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
ryan replied on at Permalink Reply 1 Attachment
ryan
Well, that changes everything....

"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.
bjwebdesign replied on at Permalink Reply
Here is what I got...

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
ryan replied on at Permalink Best Answer Reply
ryan
Ok, you're going to have to manually upgrade your site to concrete5.4.2.1

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.
bjwebdesign replied on at Permalink Reply
I did all that, but when I go to update, it shows I am running the current version.
bjwebdesign replied on at Permalink Reply
Nevermind...needed to copy the subdirectory that contained all the files.