Before you ask please READ THIS

Invalid code

Hey there,

I just purchased from themeforest and when I installed the theme it says invalid code. I copy and pasted directly from the text document that comes with the download from themeforest. Occasionally, it accepts the code but then when I go to design importer I cannot see anything

Comments

  • AirAir
    Posts: 10,970
    Hey:-)

    What is your PHP and WordPress versions?

    If you can please post screenshot of whole table https://rifetheme.com/apollo13-framework/docs/getting-started/checking-server-requirements/

    With kind regards.
  • Hey there, my wordpress version is 5.03
    My Php version is 5.6

    Here are the php options:

    allow_url_fopen On
    display_errors Off
    error_reporting E_ALL
    file_uploads On
    include_path .:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php
    log_errors On
    mail.force_extra_parameters no value
    max_execution_time 30
    max_input_time -1
    max_input_vars 1000
    memory_limit 128M
    open_basedir no value
    output_buffering 4096
    post_max_size 32M
    session.save_path /opt/alt/php56/var/lib/php/session
    short_open_tag On
    upload_max_filesize 64M

    php.PNG
    1396 x 658 - 53K
  • I could update the php version as well if needed
  • AirAir
    Posts: 10,970
    heaton5747 said:
    I could update the php version as well if needed
    Yes, please try to update to PHP 7.X as this could be an issue with recognizing SSL Certificate.

    Upgrading PHP helps in case of many servers.

    Let me know how it went.

    With kind regards.



  • I was able to update to 7.0 as for some reason 7.3 was crashing my site

    Still does not accept the code
    php.PNG
    1474 x 632 - 59K
  • AirAir
    Posts: 10,970
    Could you try PHP 7.2?

    I think I will need to check it manually on your installation.

    Could you please send me temporary* access to your WordPress and FTP so I could check there what is going on? Send it here on the forum via private message(click on my nick, in top-right corner you will find option "Message"). In message please add LINK to topic it applies to.

    By sending access to WordPress I mean:
    -create a new ADMIN account with a fake e-mail
    -set some password to this account
    -send me created login and password

    *temporary - please delete this account after I am done, for your safety!
  • I sent you a message :)
  • AirAir
    Posts: 10,970
    Hey :-)

    Fixed :-) For some reason you had 2 versions of Apollo13 Framework Extensions plugin active. I have removed the older one, and importer now works.

    You will only benefit from the speed of PHP 7.2, so it is not wasted effort :-)

    With kind regards.
  • edited February 2019 Posts: 7
    Great thanks! One other question, in the Bethany homepage I was trying to replace the image background with a video background using the slider revolution plug. However, I cannot import the free "youtube hero" template because the plugin is not activated. Is there a local version of that youtube hero slider template that we can upload so that we can use it instead of building from scratch?

    edit** I was able to add video from both vimeo and youtube. However, the sound does not play. In the the source settings I have tried with mute on or off for both youtube source and vimeo source and neither works. Would you happen to have any idea why the sound is not working? (The original video has sound) (https://pixel-plaza.com/)
    Post edited by heaton5747 on
  • Also, I cannot seem to figure out how to set: https://pixel-plaza.com/work/berryberry/ "BerryBerry" as the default template for new works? Could you provide some guidance or tell me how I can make copies of the work Berryberry to edit for my own project displays?
  • AirAir
    Posts: 10,970
    Hey there:-)

    If you have another question that is on a different subject, please start a new topic next time. This way it helps other users find useful topics/questions/answers. Thanks:-)

    To answer your question:
    heaton5747 said: Would you happen to have any idea why the sound is not working? (The original video has sound)
    Yes - browsers from some time don't allow autoplaying video to have sound. You can read more here https://www.theguardian.com/technology/2018/apr/18/google-chrome-browser-blocks-autoplaying-video-sound
    heaton5747 said: I cannot seem to figure out how to set: https://pixel-plaza.com/work/berryberry/ "BerryBerry" as the default template for new works?
    This is a slider. You can change media settings in Work Options https://rifetheme.com/apollo13-framework/docs/content-management/albums-works-post-types/album-options/

    To copy works you can use this plugin https://wordpress.org/plugins/duplicate-post/

    With kind regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!