-
AuthorPosts
-
June 10, 2013 at 2:29 pm #188125
Hi
Sorry if this post appears twice but my first attempt at posting seems to have failed.
After installing the S3 component, on the edit bucket pop-up in bucket manager I get this message:-
JPath::clean: $path is not a stringand in the file browser I get:-
Catchable fatal error: Method CFSimpleXML::__toString() must return a string value in /…/com_jaamazons3/lib/cloudfusion.2.6/services/s3.class.php on line 1221Any assistance appreciated. Best regards
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
June 28, 2013 at 2:06 am #497244Hello jameshamlin,
Could you please PM me your FTP account and Administrator account for further checking ?
We need to edit some files for debugging to get it fixed.
July 16, 2013 at 11:17 pm #499218Have the same error.
Seeing success changing core Joomla files however, I would prefer not to do that.
Suggestions, fixes?
Thanks in advance.———-
Just downloaded component and plugin.
* com_jaamazons3.v2.5.3
* plg_jaamazons3.v2.5.1Error:
500 – An error has occurred.
JPath::clean: $path is not a string.Location:
Files browser panel when “Viewing Remote Files”.Joomla version:
2.5.11Fix:
libraries/joomla/filesystem/path.php
Line #202, commented out the next four lines
// if (!is_string($path) && !empty($path))
// {
// throw new UnexpectedValueException(‘JPath::clean: $path is not a string.’);
// }Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
July 17, 2013 at 3:18 am #499233Hello,
@dw123 thanks you for your suggestion
@jameshamlin : I have re-checked code of Amazon SDK and found cause of issue. For resolving issue, please open the file:administrator/components/com_jaamazons3/lib/cloudfusion.2.6/utilities/simplexml.class.php
then scrolling down to the line 168, replacing the below code snippet:
[PHP]if ($this->attributes())
{
return json_decode(substr($s, 14));
}[/PHP]with
[PHP]if ($this->attributes())
{
$a = json_decode(substr($s, 14));
if($a && is_string($a)) {
return $a;
}
}[/PHP]FYI: the edit bucket form now displays incorrect region under select region bucket, to resolve this issue please open the file
administrator/components/com_jaamazons3/views/bucket/view.html.php
Search for the code snippet:
[PHP]if($result->isOK()) {
$region = (string) $result->body;
}[/PHP]and replace it with:
[PHP]if($result->isOK()) {
$region = (string) $result->body;
if(!empty($region)) {
$region = ‘s3-‘.$region.’.amazonaws.com’;
}
}[/PHP]Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
July 17, 2013 at 3:55 am #499239<em>@dw123 381000 wrote:</em><blockquote>
Just downloaded component and plugin.
* com_jaamazons3.v2.5.3
* plg_jaamazons3.v2.5.1Error:
500 – An error has occurred.
JPath::clean: $path is not a string.Location:
Files browser panel when “Viewing Remote Files”.Joomla version:
2.5.11</blockquote>sorry, I can cann’t reproduce this error in our system.
Could you please send me PM for administrator acocunt and FTP account of your site for further checking, so we can get it fixedJuly 17, 2013 at 11:27 pm #499361Will do.
– Dave
July 19, 2013 at 7:24 pm #499627Have PM’ed you and unfortunately our system admin would like to find out if we can resolve another way versus allowing access to FTP and backend admin controls.
The error only seems to be in the later versions of Joomla.
i.e. Joomla version: 2.5.11 which is what we are running for some of our sites.We also made the changes you’ve suggested and unfortunately that didn’t work.
Thanks.
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
July 22, 2013 at 2:18 am #499748Hello dw123,
Above update is applied to fix the bug that jameshamlin reported
<blockquote>Catchable fatal error: Method CFSimpleXML::__toString() must return a string value in /…/com_jaamazons3/lib/cloudfusion.2.6/services/s3.class.php on line 1221</blockquote>
For your issue, I need check it directly in your site since I can’t reproduce it in our system. So if possible, you can create a temporary admin account and pm to me so that I can help you further.
August 12, 2013 at 6:25 pm #501994hello just curious
was the component updated? i wanted to download the latest version of the amazon s3 but the latest update seems to be from june 5
and i see your answer here is from july 22nd.the current version i have gets as well the problem and i just want to check if i need to edit the code with the code in this post or simply download the component from your site.
regards
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
August 13, 2013 at 1:43 am #502007Hello latitude26uk,
We have fixed this issue in dev version of JA Amazon S3, the new version is being tested and we do hope to release it within this week.
Kindly wait and update.
Regards
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
-
AuthorPosts
This topic contains 12 replies, has 4 voices, and was last updated by dw123 11 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum