• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 19.11.24, 15:14
  • Opened by: Matteo Pizzanelli

Ticket #25850 - Some issue with creative elements during save and json import

Hi, I’m testing your theme with Creative Elements on two DEV enviroments.
In both I have some issue with Creative Elements:

1. I always get “internal server error” when I save my page (see attached screenshot)
2. I always get “undefined” error list when I try to import a json, for example “ecofood-home.json” (see other attached screenshot)

Can you please help me? Maybe those are common errors and you know how to fix them?

Thanks in avance

Comments

Fred 19 Nov 2024, 20:46

Hi, Matteo Pizzanelli.
I believe there is some issue with one of the widget on the page. Unfortunately there is no information returned when error happens https://mega.nz/file/pQgDSR7L#Juf4dV-RjItB4mFWWmNzejtewifV3smHjI6oGOHyqvQ Try to make a copy of the template and remove section by section checked Save in between

Matteo Pizzanelli 19 Nov 2024, 22:52

Hi Fred,
those widgets on the page are default widgets, so I don't know what kind of issue could it be. Anyway, it seems that page is saved even if the internal server appear. So, the error keep showing but at least the saving it's working.

But I need hel with the other issue I mentioned in the first post: I keep getting undefined when I try import a JSON template and even when I try to save my page as template. So, I need help with this issue.

By the way, I've associated my license to the wrong DEV url in https://support.promokit.eu/myprofile I've got another DEV website that's a bit more easier to work with; is there a way to change the url associated to the license in https://support.promokit.eu/myprofile? Also, now I'm working on a DEV domain but later I would need to associate my license to the PROD domain.

Thanks, please let me know about:
- the "undefined" error that occurs during import and save template
- how can I change the domain associated to my license

Thanks!

Matteo Pizzanelli 21 Nov 2024, 08:30

Hi, a quick update about the issue with JSON import in Creative Elements. I'm making some tests using another DEV enviroment, I've checked my error log after a failed import and that's what I've found:

PHP message: PHP Warning:  file_get_contents(): open_basedir restriction in effect. File(/tmp/phpwOMlXc) is not within the allowed path(s): (/home/piazzadispagna/) in /home/piazzadispagna/www/modules/creativeelements/includes/template-library/sources/local.php on line 693
PHP message: PHP Warning:  file_get_contents(/tmp/phpwOMlXc): failed to open stream: Operation not permitted in /home/piazzadispagna/www/modules/creativeelements/includes/template-library/sources/local.php on line 693', referer: https://piazzadispagna.advertaria.it/administrator/index.php?controller=AdminCEEditor&token=09616cc741b3adf7b9e2a9b911cb26e3&uid=1020101

It seems that the JSON import of Creative Elements is trying to use the /tmp folder outside on the Prestashop installation, and that's why it does not work. Just to be more clear:

  • my Prestashop installation is in /home/piazzadispagna/ folder
  • the /tmp folder is in the web server root, outside the Prestashop installation

So, is there a way to change the tmp folder used by Creative Elements? I would like to use a /tmp folder inside my Prestashop installation.

Thanks, please reply as soon as you can :-)

Matteo Pizzanelli 21 Nov 2024, 11:22

Hi, I asked my hosting to change access to /tmp folder and now the JSON import it's finally working. But, just out of curiosity, why does the module use a temp folder outside of Prestashop installation?

And please, answer to my other questions:
- How can I change the Shop URL associated to my license in https://support.promokit.eu/myprofile?
- Will I be able to ask support for both my PROD website and my DEV website?

Thanks!

Matteo Pizzanelli 21 Nov 2024, 17:05

Sorry to bump, but I can see in my Creative Elements editor lot of widgets with a "lock" icon… are those Premium Widgets? do I need to purchase a separate license for Creative Elements on webshopworks.com?
Thanks!

Fred 21 Nov 2024, 21:39

1. We are not developers of Creative Elements, we have purchased it here : https://pagebuilder.webshopworks.com so I can't answer to your question regarding the temp folder.
2. What url you want to put there? Give it to me and I'll update your profile
3. Yes, there is an option to have the Pro version of Creative Elements. However, everything you see in our theme has been built using the "in-stock" version, so you do not need to purchase anything. We have developed over 50 our own widgets special for our theme

Matteo Pizzanelli 22 Nov 2024, 11:08

1. We are not developers of Creative Elements, we have purchased it here : https://pagebuilder.webshopworks.com so I can't answer to your question regarding the temp folder. OK, I understand :-)

2. What url you want to put there? Give it to me and I'll update your profile My production website URL will be https://cibousa.com/. But in the short time I'm gonna use a staging URL to develop my new website, and I'll probably ask for help for my DEV website.

3. Yes, there is an option to have the Pro version of Creative Elements. However, everything you see in our theme has been built using the "in-stock" version, so you do not need to purchase anything. We have developed over 50 our own widgets special for our theme. I guess I won't need the premium widgets but I noticed some features that your Creative Elements version is missing, like adding custom colors to color palette (see attached image). This feature is missing because your Creative Elements in not updated to the latest version? If I'll buy a PRO license, will I be able to update Creative Elements to the latest version?

Thanks!

Attachments:

Fred 22 Nov 2024, 23:12

There’s no newer version of the “in-stock” module. Developers might update it in the future, but for now, we don’t have any news about that.

Matteo Pizzanelli 26 Nov 2024, 10:32

Ok, now I get it: the Creative Elements module bundled with your theme is not exactly the same module sold on webshopworks.com… that's why it's called "in-stock".

Then, if I would like to have the newest features(like adding custom colors to color palette) what should I do? Should I buy a license for the "premium" Creative Elements module? Will the "premium" version works well with the "in-stock" version? Or it's better to use only the "in-stock" version to avoid any possible problems or conflicts?

Thanks again for your help and for your patience :-D

Fred 26 Nov 2024, 22:00

The Pro version is in continuous development, and “in-stock” releases are quite rare. We have numerous customers who use the Pro version. It generally functions well, but occasionally, issues arise, and we actively assist in resolving them.