Hi,
I've installed your module following the redame.txt instruction.
After inserting the policy code I receive on page refresh the error 500. I've compiled only with the Iubenda privacy policy code and saved the configuration.
Can you help me? I need to integrate the privacy policy and cookie block on my website. I'm rookie on drupal.

Thank you

Sebastiano

Comments

SDM_sebastiano created an issue. See original summary.

robertoperuzzo’s picture

Hi Sebastiano,
I need more informations about your issue. Could you post here the error messages in your Apache error.log?

Tnx

SDM_sebastiano’s picture

StatusFileSize
new14.39 KB

Hi Roberto,
attached you may find my error.log file...
Thank you for your help!

robertoperuzzo’s picture

As you can see in the following var dump, the Libraries API libraries_load() doesn't load the php files: the attribute 'loaded' is FALSE.

array ( 'name' => 'Iubenda PHP class', 'vendor url' => 'https://www.iubenda.com', 'download url' => 'http://simon.s3.iubenda.com/iubenda-cookie-class/iubenda-cookie-class.zip', 'version arguments' => array ( 'file' => 'iubenda.class.php', 'pattern' => '@version:\\s+([0-9a-zA-Z\\.-]+)@', 'lines' => 5, ), 'files' => array ( 'php' => array ( 'iubenda.class.php' => array ( ), 'simple_html_dom.php' => array ( ), ), ), 'info type' => 'module', 'module' => 'iubenda_integration', 'machine name' => 'iubenda-cookie-class', 'download file url' => '', 'path' => '', 'library path' => false, 'version callback' => 'libraries_get_version', 'dependencies' => array ( ), 'versions' => array ( ), 'integration files' => array ( ), 'callbacks' => array ( 'info' => array ( 0 => 'libraries_prepare_files', ), 'pre-detect' => array ( ), 'post-detect' => array ( 0 => 'libraries_detect_dependencies', ), 'pre-dependencies-load' => array ( ), 'pre-load' => array ( ), 'post-load' => array ( ), ), 'post-load integration files' => false, 'installed' => false, 'error' => 'not found', 'error message' => 'The Iubenda PHP class library could not be found.', 'loaded' => false, )

I'm debugging in your environments.
Stay tuned for further news.

robertoperuzzo’s picture

Status: Active » Needs review
StatusFileSize
new2.8 KB

In this patch I updated the installation guide in README.txt because the Iubenda PHP Class dir name was wrong. Than I added a check before using Page class to prevent WSOD.

I'll push this patch in 7.x-2.0-dev release ASAP.

  • robertoperuzzo committed 068b1a9 on 7.x-2.x
    Issue #2808603 by SDM_sebastiano: added a check before using Page class...
robertoperuzzo’s picture

Assigned: robertoperuzzo » Unassigned
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.