Error trying to patch 5.4.2
Permalink 1 user found helpful
Hi all... trying to be able to download marketplace items again. Updated the code based on resolved bug issue but getting these errors for downloading...
<br />
<b>Warning</b>: copy() [<a href='function.copy'>function.copy</a>]: URL file-access is disabled in the server configuration in <b>/htdocs/concrete5/updates/concrete5.4.2/concrete/libraries/marketplace.php</b> on line <b>85</b><br />
<br />
<b>Warning</b>: copy(http://www.concrete5.org/marketplace/connect/-/download_remote/UtT6fWaWElN1VNWhE7pFzQ9QYNLrHJW5G75AgzulSu648R3YLS21KkimhsDbCtUN/29/?csiURL=http%3A%2F%2Fels-detroit.com%2Fconcrete5) [<a href='function.copy'>function.copy</a>]: failed to open stream: no suitable wrapper could be found in <b>/htdocs/concrete5/updates/concrete5.4.2/concrete/libraries/marketplace.php</b> on line <b>85</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /htdocs/concrete5/updates/concrete5.4.2/concrete/libraries/marketplace.php:85) in <b>/htdocs/concrete5/updates/concrete5.4.2/concrete/libraries/view.php</b> on line <b>791</b><br />
<br />
<b>Warning</b>: copy() [<a href='function.copy'>function.copy</a>]: URL file-access is disabled in the server configuration in <b>/htdocs/concrete5/updates/concrete5.4.2/concrete/libraries/marketplace.php</b> on line <b>85</b><br />
<br />
<b>Warning</b>: copy(http://www.concrete5.org/marketplace/connect/-/download_remote/UtT6fWaWElN1VNWhE7pFzQ9QYNLrHJW5G75AgzulSu648R3YLS21KkimhsDbCtUN/29/?csiURL=http%3A%2F%2Fels-detroit.com%2Fconcrete5) [<a href='function.copy'>function.copy</a>]: failed to open stream: no suitable wrapper could be found in <b>/htdocs/concrete5/updates/concrete5.4.2/concrete/libraries/marketplace.php</b> on line <b>85</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /htdocs/concrete5/updates/concrete5.4.2/concrete/libraries/marketplace.php:85) in <b>/htdocs/concrete5/updates/concrete5.4.2/concrete/libraries/view.php</b> on line <b>791</b><br />
Thank you! Life saver!!
I have seen this error for many months when I attempt to upgrade C5 or when I clear cache on my website. I have only upgraded my site through C5 console or through Simple Scripts in the past. Suggestions would be much appreciated. Below is the error if it helps.
[19-Nov-2012 22:18:38 America/Denver] PHP Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home2/marcusb1/public_html/updates/concrete5.5.2.1/concrete/libraries/block_view_template.php on line 41
[19-Nov-2012 22:18:38 America/Denver] PHP Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home2/marcusb1/public_html/updates/concrete5.5.2.1/concrete/libraries/block_view_template.php on line 41
I had a similar repeat of the error when I first applied the patch, a couple of minutes panic, then realised that I had patched the old file, and not the 5.4.2 file.