Not sure if this a bug

Hi Oliver,

Hope you are doing great! I have been using the portofolio content type and I love it. Thank you so much for sharing it, I ran into a small little issure where I created a unit plan that includes serval course presentations. Using portofolio 0.61 version and now that updated version is 0.91 after download or trying to update the content type it is not allowing me to use the most recent version of portofolio. I am using drupal 7 and php 8 any advice you can offer me instead of creating everything from scratch?

Cheers,

Farrisimin

otacke's picture

Could you please explain what exactly doesn't work?

  • You can't upload the latest version of Portfolio?
  • You cannot upgrade existing content to the latest version (on the library settings page)?
  • Any error messages that you could share? Or the content you're referencing maybe?

Best,

Oliver 

I created a whole unit plan using portofolio content type, which is a great. At first I didn't realize that my h5p content file was really large so I could not upload it to my site. The portofolio content type did update (it said file could not upload), the problem was the php max file upload size which was set to very low. After increasing it (here it took some time to upload the file and then it worked like a charm.) Thank you for the quick response.

Cheers.

Farrisimin

otacke's picture

Yes, the files of Portfolio will always be quite large, because a lot of feature related stuff was expected to be put into the (editor) libraries - including dependencies to subcontent libraries and their dependencies - and because H5P files contain everything that's required to run the content.

The issue that you described is technically not caused by the Portfolio content type, but by the (default) upload limitations of servers or H5P integrations. Still, I am sure that others may face the issue, too. So, feel free to post a little more, e. g. a brief issue outline (including the error that you faced) and a step-by-step guide for fixing it (I assume upload_max_filesize, post_max_size, and potentially max_execution_time may need increasing).

I am attaching an image to show what I have done, the file upload max was set to 2 mb as the default. I need to access whm to make these configuration changes as editing the settings file in drupal was not my go to.. Hopefully my changes are somewhat acceptable as they work much better now.

otacke's picture

Thanks!