Book display broken after upgrading to Joomla 3.4.4

Started by whowd, 23 September 2015, 17:51:02

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

whowd

After upgrading to Joomla 3.4.4 and using Alexandria Book Library version 3.1.0, when you try to view a book detail you receive the following error message:

Quote0 - DateTime::__construct(): Failed to parse time string (%2015-%09-%23) at position 0 (%): Unexpected character

Screenshot: https://www.dropbox.com/s/2s9ldzg8usuxcfh/Screenshot%202015-09-23%2010.46.00.png?dl=0

Any help would be appreciated.

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9


sergiuseni

I have the same problem, and if i put Voting on Hide, and Hits on Hide, the page is appear, but the lend button is missing! :(

federica

Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

Lstafford

I have similar problem with the "Book" layout for my menu item.  When I go to the page that layout displayed, I get the same error:
"DateTime::__construct(): Failed to parse time string (%2016-%04-%30) at position 0 (%): Unexpected character"
It is interesting that it only happens when I have logged in as a registered user, as a public visitor to the site, I do not get the error.
I am using SourceCoast SCLogin for accessing the registered part of my front end website.

I wasn't able to find the lines of code in your earlier post.  I do not have the <Div class="controls">  within that file.
Any assistance is appreciated.
Lee

Lstafford

I was able to find the code that was affected.  My code wasn't for the same class, but the changes worked.  I made the same corrections to my code it was found at lines 238-245.  My code now looks like this:  <div class="control-group">
<div class="control-label"><label for="lend_out"><?php echo JText::_'COM_ABOOK_LEND_OUT' );?></label></div>
                                <div class="controls"><?php echo JHtml::_("calendar"JHtml::_("date"'now''Ym-d'), "lend_out""lend_out",'%Y-%m-%d');?></div>
</div>
<div class="control-group">
<div class="control-label"><label for="lend_in"><?php echo JText::_'COM_ABOOK_LEND_IN' );?></label></div>
                        <div class="controls"><?php echo JHtml::_("calendar"JHtml::_("date"'now''Ym-d'), "lend_in""lend_in"'%Y-%m-%d');?></div>
</div>

Maybe others have this version and it will help.
My view is working now.

federica

Hi Lstafford,
many thanks!
My earlier post refers to Abook 3.1.1. To oldest version please follow Lstafford
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]