News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

[SOLVED] Upgrade 3.2.41 can lead to errors

Started by sg38, 21.01.2016 10:24:24

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sg38

Hello,

I have a site with Joomla 3.4.8. I have updated Jdownloads. The download access rights for the documents was Public herited. First I saw that the Public Download Rights in the main configuration was ok for public downloading. However, it seems that the document does not heritate it. It must be set specifically to Public for each document. Once I have modified the right access to Public Download, a <Download> buttom appears in the front end, nice! However, after pushing that buttom, a script page is displayed:

Warning: Cannot modify header information - headers already sent by (output started at /.../plugins/system/p3p/p3p.php:1) in /.../components/com_jdownloads/helpers/downloader.php on line 157

Warning: Cannot modify header information - headers already sent by (output started at /.../plugins/system/p3p/p3p.php:1) in /.../components/com_jdownloads/helpers/downloader.php on line 160

Warning: Cannot modify header information - headers already sent by (output started at /.../plugins/system/p3p/p3p.php:1) in /.../components/com_jdownloads/helpers/downloader.php on line 165

Warning: Cannot modify header information - headers already sent by (output started at /.../plugins/system/p3p/p3p.php:1) in /.../components/com_jdownloads/helpers/downloader.php on line 177

...

With the following error in Firebug:
"La feuille de style http://newsite.escaladevoironalpinisme.fr/index.php?option=com_ajax&plugin=arkbootstrap&format=json n'a pas été chargée car son type MIME, « text/html », n'est pas « text/css »."

Meaning that the style sheet cannot be loaded because of its MIME type . If I translate correctly.


Thank you for any help,



  •  

ColinM

Hi
It appears that for some reason the jD System plugin has not loaded correctly.  please excuse all the questions but we have not had thisexact error previously.
Did you get any errors/warnings whilst updating jD to v41? 
Did you upload using the 'Upload Package File' method.  The other methods may be a trifle suspect and have not been fully checked out with installing/upgrading jDownloads.
If you were upgrading what was the original jD version?

A few checks on the present installation:
Please look at your data base tables as noted below, where xxx is your specific prefix.
1. Check that table xxx_jdownloads_config has fields 'featured.pic.size' ,    'featured.pic.size.height' and 'featured.pic.filename'. They are at the end of the table ids are typically around 527.
2. Check that table xxx_jdownloads_files has column 'featured'  id is typically 78  and is also at the end.
Now to see if latest 'jd specific' folders and files have been setup created.
3.Look at your file system and see that folder
  <your root>/images/jdownloads/featuredimages exists and has file system permission 755.
4. Check contents of directory to see if files like like 'featured_yellow_star.png', 'featured_white_star.png' and so on are present, there are typically  11 such files in the directory, and that the file system permissions are 644. You may also have an 'index.php' and a '.htaccess' files.



If and only if the above checks are OK, then I would suggest that, after taking a backup, you uninstall all the jD modules, then the plugins and finally the Component.  Leave all the database and files in place.  Then re-install using the 'Upload Package File' method.

In either situation please advise the result.

Colin
Colin M
  •  

sg38

#2
Thank you for your reply.

I checked all you advised me and this is the result. everything does not seem ok. I prefix my answers with -->.

Did you get any errors/warnings whilst updating jD to v41?
   --> I didn't see any warning or error.
Did you upload using the 'Upload Package File' method. 
The other methods may be a trifle suspect and have not been fully checked out with installing/upgrading jDownloads.
   --> I have installed from the Extensions/Managment/"Install from a repository" after have been downloaded the JD zip package.
If you were upgrading what was the original jD version?
   --> I am sorry, I am regularly updating all the modules, but I didn't note the ante-version.

A few checks on the present installation:
Please look at your data base tables as noted below, where xxx is your specific prefix.

1. Check that table xxx_jdownloads_config has fields
'featured.pic.size' ,    --> ok = 48
'featured.pic.size.height' --> ok = 48
'featured.pic.filename'. --> I see it but its value is empty.
They are at the end of the table ids are typically around 527.
   --> Ok respectively 527, 528 and 529

2. Check that table xxx_jdownloads_files has column 'featured'  id is typically 78  and is also at the end.
   --> Yes, I got it. All values seem to be 0.

Now to see if latest 'jd specific' folders and files have been setup created.

3.Look at your file system and see that folder
  <your root>/images/jdownloads/featuredimages exists and has file system permission 755.
  --> The repository exists, however it is empty and the right access is 770

4. Check contents of directory to see if files like like 'featured_yellow_star.png', 'featured_white_star.png' and so on are present, there are typically  11 such files in the directory, and that the file system permissions are 644. You may also have an 'index.php' and a '.htaccess' files.
   --> No. The repository is empty. The 11 PNG files are present in /components/com_jdownloads/assets/images/jdownloads/featuredimages only, not elsewhere.

I am waiting for your answer to make any futur action.

Regards,


  •  

Arno

#3
Hi,
please go to the 'system plugins', search the 'p3p' plugin and deactivate it. Try it then again.

The old p3p plugin is not more required.

QuoteP3P was only supported by IE 6, which is really dead. Joomla supporting IE > 8
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

sg38

YES!

Thank you very much mister Admin.
  •