jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Topic started by: WEBSEO on 06.05.2015 16:21:32

Title: Inconsistent space within images and content again Part 3
Post by: WEBSEO on 06.05.2015 16:21:32
Greetings Collin,
well, I wish I could say the last changes you so kindly helped me implement were a complete success, but it wasn't. We are still getting many instances were the font size is not published with the correct size. (See attached).
Since this is a huge site, the content was migrated using a migration tool, and because of that< I assume, all manual content modifications done in the old site were brought along with the migration. Much of the content is displayed using tables.
I tried to modify the following using the  custom template css
The example of the code was grabbed from this page:
http://family.webmaster-sos.com/strategic-planning

element.style {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12.727272033691406px;
  line-height: 18.196969985961914px;

to reflect this:
element.style {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 14px;
  line-height: 1.7em;
}

But that had no effect.

You noted in your last response to the previous discussion: "Should you need assistance with a long term solution then I could assist if needed.

Please let me know about this assistance, I definitively need it.

Looking forward to your reply,

Beatriz.


[gelöscht durch Administrator]
Title: Re: Inconsistent space within images and content again Part 3
Post by: WEBSEO on 06.05.2015 21:03:20
I want to also add that I also need help with two more items:

1. I cannot access the files from the JDownloads back admin window, I get the following
An error has occurred.
0 DateTime::__construct(): Failed to parse time string (%2015-%04-%14 %22:%Apr:%th) at position 0 (%): Unexpected character

2. How can I delete the following from the downloads page:
Files: layout revised by ColinM
http://family.webmaster-sos.com/batterers-treatment

3. Is there anyway to fix the alignment for any of the titles that are longer than 1 line? This looks weird to me (See title below)

Looking forward to your reply.
Beatriz M.

[gelöscht durch Administrator]
Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 07.05.2015 10:10:23
Hi Beatriz,
Yes will help. 

Have found the reason for the different font sizes in your first post.  You have set up in ty_biz-custom.css
p {
    font-size: 14px !important;
    line-height: 20px !important;
}


This relies on all your text being enclosed in <p>  ...  </p>  html, that is an enclosing paragraph.  Not all of your text is so enclosed!  There are at least two solutions. 
1. Go to all non compliant text and edit to add the enclosing paragraph. Suspect this is long and tedious.
2. Remove the above custom css from from the ty_biz-custom.css file.  All text will then revert back to the size as defined by the Layout.  We can change size if required in the Layout

See attached pics.  Have assumed there are no other relevant custom css changes.

Will be back later today.

Colin

[gelöscht durch Administrator]
Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 07.05.2015 12:12:55
Beatriz,
Have fixed point 2 in second message.  Edited the Active layout
MY Standard Files Layout without Checkboxes v2.5 (3) and removed
<p>{files_title_begin}</p>
<div style="background-color: #efefef; padding: 6px;">{files_title_text}layout revised by ColinM</div>
<p>{files_title_end}</p>


This was put in to identify to you which layout was in use!!
More later.

Colin
Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 07.05.2015 12:23:45
Beatriz
Fixed item 1
QuoteI cannot access the files from the JDownloads back admin window, I get the following
An error has occurred.
0 DateTime::__construct(): Failed to parse time string (%2015-%04-%14 %22:%Apr:%th) at position 0 (%): Unexpected character
See attached pic where someone added % symbols in the long date setup in Config- Downloads tab.  I have removed the % symbols  -  probably put in by someone familiar with Visual Baic or a version of C, C++ or similar!

One more to do - which is probably the most 'interesting'.

Back later

Colin

Colin

[gelöscht durch Administrator]
Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 07.05.2015 13:07:30
Beatriz
By modifying the layout we can get different effects.  All very straightforward.
Please see pics attached and advise desired arrangement.

Colin

PS would be good if your client would approve small donation towards running costs of the jD website!!

[gelöscht durch Administrator]
Title: Re: Inconsistent space within images and content again Part 3
Post by: WEBSEO on 07.05.2015 15:12:29
Colin,
Many thanks for your help! And YES, I will make sure to post a very well deserved donation as gratitude for your extensive support.
Just give me a few days to get this flowing and let me know how to post donation.

Beatriz M.
Title: Re: Inconsistent space within images and content again Part 3
Post by: WEBSEO on 07.05.2015 15:18:11
Colin, I am still getting the following error when I click on the Files icon or menu item:
An error has occurred.

    0 DateTime::__construct(): Failed to parse time string (2015-04-14 22:Apr:th) at position 11 (2): Unexpected character
Title: Re: Inconsistent space within images and content again Part 3
Post by: WEBSEO on 07.05.2015 15:56:46
Quote from: ColinM on 07.05.2015 13:07:30
Beatriz
By modifying the layout we can get different effects.  All very straightforward.
Please see pics attached and advise desired arrangement.

Colin

PS would be good if your client would approve small donation towards running costs of the jD website!!
Colin,
I have sent an email to my client addressing all your point in this response. I will let you know which layout they choose as soon as I hear from them.
Thank you for all your help.
Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 07.05.2015 16:12:11
Beatriz,
Apologies - I did not spot the use of capital letter S in the time string!  It is now Y-m-d H:M:s  Incidentally capital S is valid in the Date part and it produces things like 5th, 1st and so on - you will see there is a strange Apr:th in the time part of your error message.!

If it happens again pl;ease give me sufficient details to test it as I have now run out of the 'simple' reasons!!

Also noticed that you have 2 directories that do not have write permission.  see Config Downloads Tab. They are the Uncategorised directory name and the Temporary directory name

Colin
Title: Re: Inconsistent space within images and content again Part 3
Post by: WEBSEO on 07.05.2015 16:34:59
Quote from: ColinM on 07.05.2015 16:12:11
Beatriz,
Apologies - I did not spot the use of capital letter S in the time string!  It is now Y-m-d H:M:s  Incidentally capital S is valid in the Date part and it produces things like 5th, 1st and so on - you will see there is a strange Apr:th in the time part of your error message.!

If it happens again pl;ease give me sufficient details to test it as I have now run out of the 'simple' reasons!!

Also noticed that you have 2 directories that do not have write permission.  see Config Downloads Tab. They are the Uncategorised directory name and the Temporary directory name

Colin

I wish I could explain better, I don't know what other information to provide, can you tell me a bit more specifically what I need to provide you with?

I am still unable to access the "Files" by clicking on the Files icon or the JDownloads "Files" menu item. I continue to get a page with this result:
An error has occurred.

    0 DateTime::__construct(): Failed to parse time string (2015-04-14 22:Apr:th) at position 11 (2): Unexpected character"


I checked the old website JDownloads admin, and I found they have this setting under the "Date-Time format " field:
%Y-%m-%d %H:%M:%S

I did not want to try it on the new site without asking you first.

Let me know if this helps.
I am attaching two screenshots, one showing the JDownloads back admin showing what I call the "Files" icon and one showing what I see when I click that icon.


[gelöscht durch Administrator]
Title: Re: Inconsistent space within images and content again Part 3
Post by: WEBSEO on 07.05.2015 17:31:21
Quote from: ColinM on 07.05.2015 13:07:30
Beatriz
By modifying the layout we can get different effects.  All very straightforward.
Please see pics attached and advise desired arrangement.

Colin

PS would be good if your client would approve small donation towards running costs of the jD website!!

Colin, my client as opted for option 2, with regards to content layout.

They asked me where they can post a donation to your website.
Let me know.

Beatriz
Title: Re: Inconsistent space within images and content again Part 3
Post by: WEBSEO on 07.05.2015 21:25:47
Colin,
due to some sort of conflict,  :'( we lost the ability to create new content.
We are now working from this website that I created just a couple of days ago, as fallback:
http://joomla.webmaster-sos.com/administrator/
All account logins should be the same, and your account should also be active in this website.

Let me know if you have any questions.

Beatriz
Title: Re: Inconsistent space within images and content again Part 3
Post by: WEBSEO on 07.05.2015 21:31:06
Quote from: WEBSEO on 07.05.2015 21:25:47
Colin,
due to some sort of conflict,  :'( we lost the ability to create new content.
We are now working from this website that I created just a couple of days ago, as fallback:
http://joomla.webmaster-sos.com/administrator/
All account logins should be the same, and your account should also be active in this website.

Let me know if you have any questions.

Beatriz

By the way, the same problem discussed about not being able to access the files in JDownloads is in this site as well:
When I click on "Files" I get this:
0 DateTime::__construct(): Failed to parse time string (%2015-%04-%14 %22:%Apr:%th) at position 0 (%): Unexpected character

Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 07.05.2015 22:13:18
Beatriz
I had just found some concerns about your site when your new posts came in!  In jD there are some unwritable directories, see earlier posting.  This may be reason why you cannot do installs in other directories

I was about to edit the layout and my normal practice is to make a copy.  But it would not make a proper copy.  This indicates a database problem. 

I looked at Extensions - Management database.  This shows some Joomla database errors.  Suggest you contact your hosting service to get them to checkout things as well.

The Files control panel is strange.   Normal Files show empty until you upload a file into it, the default is the jdownloads directory in the root part of your web site.  It looks as if it may have a strange file in it.  Normally it just has directories: all the top level categories and the some special jD ones as listed in jD Config - Downloads tab.

When you have resolved things please could you install eXtplorer component as that allows looking at files on the server and setting file permissions for read, read/write and so on.

I will redo things when site is back up.  please let me know.

Colin
Title: Re: Inconsistent space within images and content again Part 3
Post by: WEBSEO on 07.05.2015 22:22:34
Colin,
all of a sudden, incorrect character encoding started to appear across the website content I am manually fixing that at the moment. (from utf8 to some latin sort of encoding, I think),
However, I tried to bring this up with the hosting tech support, but they were not able to see the character encoding???
I will try again to contact them about this, and will copy your comments to them, but unfortunately, I know they won't debug the JDownloads (or any) extension.
I really need your help guiding me a bit, I have no idea how to troubleshoot your extension or Joomla in relation with your extension. This is the first time ever, that I get a problem like this.
ANY advise will be greatly appreciated.
SOMETHING ELSE, WHICH SITE WHERE YOU WORKING ON WHEN THIS HAPPENED?
http://joomla.webmaster-sos.com? (the site we are now working on)
OR
http://family.webmaster-sos.com?

Kind regards,
Beatriz
Title: Re: Inconsistent space within images and content again Part 3
Post by: WEBSEO on 07.05.2015 23:06:42
Hi Colin,
I am checking your note about this:
I looked at Extensions - Management database.  This shows some Joomla database errors.  Suggest you contact your hosting service to get them to checkout things as well.

I could not find the error, unless it is the Joomla warning, which is not related to our problems. It is strictly related to the online uploader and it is visible on any joomla 3.+ website. (See attached).

Looking forward to your reply,
Beatriz

[gelöscht durch Administrator]
Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 08.05.2015 08:10:30
Beatriz
I have been using http://family.webmaster-sos.com so I will switch to the other one.

It is not jDownloads that is causing the problems, there are various unwritable files and other items which shows some instability has occurred.  The 'Files' one is strange and I have never known it to be faulty.  Something has changed.  The tests I have done and the parts changed are minor config and layout issues.  You mention a change in character encoding, there is no way that jD can do that.  It all sounds symptomatic of a database problem.  Do you have an example?

Another thing I found but forgot to report is that on /family.webmaster-sos.com there was an 'undiscovered' update to the base template Gantry, this is symptomatic of a partially failed installation of a template update so that might be causing problems.  When I was about to implement Option 2 I made a copy of the current active template.  The copying did not set the name in the form as it should do.  I doubled checked on my test site, which is using same version as you are, and it is AOK.  The layout stuff is all in the database so to me that is another indicator of a problem with the database. 

I am not a database expert.  However Arno is, so with your permission I will send him the passwords and ask him to take a look.

For your reference when I make a test of a change of layout I use Firefox Inspector.  This, like Firebug, allows changes to the html code and css on my PC, it does not affect the site itself.

I will look at the alternate site but will make no changes until you are clear of these random events that are currently plaguing you.  As ever I will continue to support, and will make the minor layout changes you need.

Please keep me posted and I will keep looking so as to help.

Colin
Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 08.05.2015 08:31:58
Beatriz,
Have looked at http://joomla.webmaster-sos.com admin  It all seems to be same as before your initial posting, ie back where it was.  Still has files unwritable.  The site address is joomla.webmaster-sos.com but the file address for the downloads is /home/www/family.webmaster-sos.com/downloads  Is that as you would expect?
Colin

[gelöscht durch Administrator]
Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 08.05.2015 11:27:00
Beatriz
The new site on http://joomla.webmaster-sos.com seems in better shape.  Did find the  Discover about Gantry though. See pic attached.  No database errors showing.

I was able to make a copy of the Active  files layout as normal. 
Actually I have changed the new layout so to check all you need to do is go to Layout - Files and make "MY Standard Files Layout without Checkboxes v2.5 (4)" as the Active one - currently "MY Standard Files Layout without Checkboxes v2.5 (3)" is the active one

The Files problem is still there, and I will delve deeper when you need.

Also the different text sizes are still there.

Colin

[gelöscht durch Administrator]
Title: Re: Inconsistent space within images and content again Part 3
Post by: WEBSEO on 08.05.2015 20:27:57
Colin,
thank you very much for all your help.
What I beleive I am going to have to do, is to create a new copy from scratch of the site and install JDownloads on that copy and see results. I believe that it will be easier at this point, don't you think?
Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 09.05.2015 09:25:02
Yes starting with a fresh version is good idea.

I have taken copy of Files Layout and also made a jD Backup file so can lookup current setup etc.

Colin
Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 14.05.2015 02:00:13
Beatriz,
Think we have been here before! But a long time ago.  It is not a jDownloads problem but that the image and text are both in the Short Description in a table.  The style properties of the table, specifically a <td> element, are not consistent.  I have illustrated this in the images attached.

I have used as examples:
Bad case: pics a-spacing01.png and a-spacing01A.png  Download id 721
Human Trafficking - Webinar Recording - Identifying and Serving Victims of Human Trafficking Through FJCs: A Rural Family Justice Center's Approach to Collaboration- Warpinski, Weaver& NFJCA 11-13

Good Case: pics a-spacing02.png and a-spacing02A.png  Download id 719
DV 101 -Webinar PPT & Course Materials -Domestic Violence 101 Understanding the Experience of Survivors- NFJCA & VOICES 10.13

So you need to add the missing style in the relevant <td> to get <td style="padding-left: 15px;" valign="top"> into the descriptions that are causing the problem. 

Ideally and in the longer term all the downloads should be edited to remove the table code and the picture added to the download separately, but this is a lot of tedious work.  Would also need to adjust the layout. But for practicality now obviously as there appear to be relatively few with this problem then editing the Description is more practical in the time scale.

Colin

[gelöscht durch Administrator]
Title: Re: Inconsistent space within images and content again Part 3
Post by: WEBSEO on 14.05.2015 02:18:21
Quote from: ColinM on 08.05.2015 08:31:58
Beatriz,
Have looked at http://joomla.webmaster-sos.com admin  It all seems to be same as before your initial posting, ie back where it was.  Still has files unwritable.  The site address is joomla.webmaster-sos.com but the file address for the downloads is /home/www/family.webmaster-sos.com/downloads  Is that as you would expect?
Colin

Colin,
thank you for let me know about this.
No, the correct path should be related to the site http://joomla.webmaster-sos.com
in other words: /home/www/joomla.webmaster-sos.com/downloads

I did not want to change it before asking you first if it is Ok if I go and make the changes to reflect the new site.

Looking forward to your reply!

Beatriz

Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 14.05.2015 13:38:52
Beatriz
Have just rechecked  http://joomla.webmaster-sos.com/administrator/index.php?option=com_jdownloads&view=config
and config  downloads tab field "Upload directory path" has  /home/www/family.webmaster-sos.com/downloads

It should be  /home/www/joomla.webmaster-sos.com/downloads  but before changing you need to ensure the Downloads in that directory exist.  And that the other directories are ok - also in images/downloads (or maybe images/jdownloads) are OK

Also presently a couple of the directories are unwritable.  This needs fixing in the final target site or troubles will occur!!

I always use the default setting of the default directory being jdownloads ie /home/www/family.webmaster-sos.com/jdownloads  but yours seems ok.  If server disk space is not a problem I would also copy files to the default jdownloads and images/jdownloads and the use jdownloads as the setting in "Upload directory path"

Good luck with this final change  - check twice - make backup - do it!!

Colin
Title: Re: Inconsistent space within images and content again Part 3
Post by: WEBSEO on 14.05.2015 13:52:10
Colin,
thank you for your fantastic guidance, I wouldn't gotten this far without your help.
I will make sure to follow every direction.

I have one question about this:
"Also presently a couple of the directories are unwritable.  This needs fixing in the final target site or troubles will occur!!"


Can you tell me which are those directories?
I understand I need to change those permissions in the server, correct?

As per your last advise, I am going to try that step in one of the test sites I have built to fix all the issues I been dealing with lately.

Thank you,

Beatriiz
Title: Re: Inconsistent space within images and content again Part 3
Post by: bradbillet on 26.05.2015 13:45:22
hopefully it will be fixed soon
Title: Re: Inconsistent space within images and content again Part 3
Post by: Arno on 26.05.2015 14:46:21
Quote from: bradbillet on 26.05.2015 13:45:22
hopefully it will be fixed soon
What exactly do you mean?
Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 26.05.2015 19:05:35
Hi
Beatriz
You have some problems with the pics in the Spanish section.  The pics look to be present in backend but in front end I get things like pics attached
The second one is with Firefox Inspector.  I suggest you try removing the troublesome pics, give them a new name, re upload and reinsert.

Colin

[gelöscht durch Administrator]
Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 28.05.2015 00:16:03
Beatriz
I can not see what you mean by "pulling to the left"  - I took some measurements and the width to the edge is the same see pics.  Even tried on IE which showed no images see last pic.

Colin

[gelöscht durch Administrator]
Title: Re: Inconsistent space within images and content again Part 3
Post by: ColinM on 04.06.2015 04:04:02
Beatriz
I looked at the existing site as you suggested.  By luck I had two copies simultaneously.  One which had blanks for the images and one that had the images OK.  These are posed below (NB I have 'greyed out' some bits to hide my test site identity).  The basic difference is the one that does not show the picture properly needs the leading '/' in the image string.  The one that shows the image properly has it encoded base 64 in the page.  This tells me that there is a plugin, a module or some javascript that is busy encoding you images.  It almost certainly is using a lot of resource.  Also the site does not have a scrolling picture on each page, scrolling pictures  take a noticeable resource.

I suspect I was lucky to get the no image one as the server maybe run out of resource perhaps.  Not sure about that though. I was able to reload it so do not know reason!

My next step in looking at resource use would be to turn off selectively plugins and modules

Turning now to the use of Tables.  It would be possible to have the layouts in a Div form.  But there is no advantage.  It is a purist view that 'tables are bad, divs are good'.  It would involve you in tremendous work as each of your download descriptions has an embedded <table>.  Tables give the same scaleability as divs if they are in a scalable template.  For example my test sites using the default Joomla template run on my Android tablet and my Android Phone.

Colin

[gelöscht durch Administrator]