Tagged: enfold download error demo
-
AuthorPosts
-
July 8, 2023 at 3:25 am #1412720
Hi.
I have build a new website – single page so far.
http://www.AlydarLLC.com
Everything is current (wordpress, php, etc), and the other sites on the server work fine.
When I try to down/install the online demo for “construction”, I get the following error:
“Download of file for demo Construction Demo didn’t work!
You might try reloading the page and trying again. ”
I cannot find any errors in ANY of the logs for the rhel8 servers relating to this virtual site.
I see no errors in any of the web logs either.My web access_log shows this when I click on download:
76.153.234.193 – – [07/Jul/2023:21:22:30 -0400] “POST /wp-admin/admin-ajax.php HTTP/1.1” 403 17004 “http://www.alydarllc.com/wp-admin/admin.php?avia_welcome=true&page=avia” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”I cleared cache, reloaded site, rebooted server, tried on different browsers. No luck.
I would be happy to install it manually using ftp, but the links from your other threads don’t work.
Can you assist with the link and instructions to install the demo?Please email me – (Email address hidden if logged out) – with information/diagnostic steps.
July 8, 2023 at 4:38 pm #1412738Hey howiegrapek,
Please see your documentation: How to manually import a theme demo and try to follow those steps. Which webhost are you using?Best regards,
MikeJuly 8, 2023 at 6:33 pm #1412746Hi Mike.
Read all below… then, I am not sure what to do now. please advise.I have my own rhel8 VM server here, and have been a unix sysadmin for 30 years (wow, time flies).
I also had my own hosting/colocation company.
Anyway, that said,
Per instruction, I have added:
add_theme_support( ‘avia_demo_store_downloaded_files’ );Of course, your instructions say “Functions.php”, note, on unix, case is specific, so I added it to functions.php.
You might want to update your instructions regarding that.Then downloaded the file for construction.zip demo into my computer.
Your instructions say :
Extract it in \uploads\avia_demo_files\ folder. If you are importing Enfold 2017 demo, files should be extracted inside \enfold-2017\ so it should look as \uploads\avia_demo_files\enfold-2017\In my case, I’m extracting a demo for:
Item Title: Enfold – Responsive Multi-Purpose Theme
Item URL: https://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990the demo I am installing is “Construction”.
On my computer, my tree looks like this:[root@virtual uploads]# pwd
/www/vhosts/alydarllc.com/html/wp-content/uploads
[root@virtual uploads]# ls -al
total 12
drwxrwxr-x. 6 apache wordpress 62 Jul 7 19:17 .
drwxrwxr-x. 7 apache wordpress 96 Jul 7 12:46 ..
drwxrwxr-x. 11 apache wordpress 96 Jul 7 12:46 2021
drwxrwxr-x. 14 apache wordpress 126 Jul 7 12:46 2022
drwxrwxr-x. 9 apache wordpress 76 Jul 7 12:46 2023
drwxrwxr-x. 2 apache wordpress 8192 Jul 8 02:12 dynamic_aviaI don’t have an avid_demo_files directory,… and subsequently, I don’t have a “construction” demo directory.
Your instructions are not clear at this point.
I assume you mean I need to put it in “avia_demo_files/construction”?[root@virtual uploads]# mkdir -p avia_demo_files/construction
[root@virtual uploads]# chown -R apache:wordpress avia_demo_files/
[root@virtual uploads]# sudo chmod -R g+rw avia_demo_files/
[root@virtual uploads]# ls -al
total 12
drwxrwxr-x. 7 apache wordpress 85 Jul 8 12:18 .
drwxrwxr-x. 7 apache wordpress 96 Jul 7 12:46 ..
drwxrwxr-x. 11 apache wordpress 96 Jul 7 12:46 2021
drwxrwxr-x. 14 apache wordpress 126 Jul 7 12:46 2022
drwxrwxr-x. 9 apache wordpress 76 Jul 7 12:46 2023
drwxrwxr-x 3 apache wordpress 26 Jul 8 12:18 avia_demo_files
drwxrwxr-x. 2 apache wordpress 8192 Jul 8 02:12 dynamic_avia
[root@virtual uploads]#Then I tried to unzip it into the new directory:
[root@virtual construction]# unzip construction.zip
Archive: construction.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
note: construction.zip may be a plain executable, not an archive
unzip: cannot find zipfile directory in one of construction.zip or
construction.zip.zip, and cannot find construction.zip.ZIP, period.
[root@virtual construction]#Upon further investigation, I discovered that I download a html file, not a Zip file.
Very curious indeed[root@virtual construction]# strings construction.zip | head -20
<!DOCTYPE html>
<html lang=”en” data-color-mode=”auto” data-light-theme=”light” data-dark-theme=”dark” data-a11y-animated-images=”system”>
<head>
<meta charset=”utf-8″>
<link rel=”dns-prefetch” href=”https://github.githubassets.com”>
<link rel=”dns-prefetch” href=”https://avatars.githubusercontent.com”>
<link rel=”dns-prefetch” href=”https://github-cloud.s3.amazonaws.com”>
<link rel=”dns-prefetch” href=”https://user-images.githubusercontent.com/”>
<link rel=”preconnect” href=”https://github.githubassets.com” crossorigin>
<link rel=”preconnect” href=”https://avatars.githubusercontent.com”>
<link crossorigin=”anonymous” media=”all” rel=”stylesheet” href=”https://github.githubassets.com/assets/light-8cafbcbd78f4.css” /><link crossorigin=”anonymous” media=”all” rel=”stylesheet” href=”https://github.githubassets.com/assets/dark-31dc14e38457.css” /><link data-color-theme=”dark_dimmed” crossorigin=”anonymous” media=”all” rel=”stylesheet” data-href=”https://github.githubassets.com/assets/dark_dimmed-71414d661fe2.css” /><link data-color-theme=”dark_high_contrast” crossorigin=”anonymous” media=”all” rel=”stylesheet” data-href=”https://github.githubassets.com/assets/dark_high_contrast-ba96c7f1d660.css” /><link data-color-theme=”dark_colorblind” crossorigin=”anonymous” media=”all” rel=”stylesheet” data-href=”https://github.githubassets.com/assets/dark_colorblind-7471c22cdb6a.css” /><link data-color-theme=”light_colorblind” crossorigin=”anonymous” media=”all” rel=”stylesheet” data-href=”https://github.githubassets.com/assets/light_colorblind-80180bed15ed.css” /><link data-color-theme=”light_high_contrast” crossorigin=”anonymous” media=”all” rel=”stylesheet” data-href=”https://github.githubassets.com/assets/light_high_contrast-e89b9cdecb75.css” /><link data-color-theme=”light_tritanopia” crossorigin=”anonymous” media=”all” rel=”stylesheet” data-href=”https://github.githubassets.com/assets/light_tritanopia-77f15e9154df.css” /><link data-color-theme=”dark_tritanopia” crossorigin=”anonymous” media=”all” rel=”stylesheet” data-href=”https://github.githubassets.com/assets/dark_tritanopia-f598f8dd18ae.css” />
<link crossorigin=”anonymous” media=”all” rel=”stylesheet” href=”https://github.githubassets.com/assets/primer-primitives-fb1d51d1ef66.css” />
<link crossorigin=”anonymous” media=”all” rel=”stylesheet” href=”https://github.githubassets.com/assets/primer-60c5e476b0dc.css” />
<link crossorigin=”anonymous” media=”all” rel=”stylesheet” href=”https://github.githubassets.com/assets/global-5f348e729995.css” />
<link crossorigin=”anonymous” media=”all” rel=”stylesheet” href=”https://github.githubassets.com/assets/github-17b9a2af8801.css” />
<link crossorigin=”anonymous” media=”all” rel=”stylesheet” href=”https://github.githubassets.com/assets/code-5aae01d45c34.css” />
<script type=”application/json” id=”client-env”>{“locale”:”en”,”featureFlags”:[“failbot_handle_non_errors”,”geojson_azure_maps”,”image_metric_tracking”,”turbo_experiment_risky”]}</script>
<script crossorigin=”anonymous” defer=”defer” type=”application/javascript” src=”https://github.githubassets.com/assets/wp-runtime-6ffa70c49ad7.js”></script>
<script crossorigin=”anonymous” defer=”defer” type=”application/javascript” src=”https://github.githubassets.com/assets/vendors-node_modules_stacktrace-parser_dist_stack-trace-parser_esm_js-node_modules_github_bro-a4c183-ae93d3fba59c.js”></script>
<script crossorigin=”anonymous” defer=”defer” type=”application/javascript” src=”https://github.githubassets.com/assets/ui_packages_soft-nav_soft-nav_ts-5bbac172fb2f.js”></script>
[root@virtual construction]#Going back to your github directory, the master branch for demos / consulting have this information:
enfold-library/demos/consulting/
consulting.zip
(File)
Replace demo php with txt, keep backup
2 years agoOn my system, i only see two files with demo in the name:
[root@virtual construction]# locate demo.php
/var/www/vhosts/alydarllc.com/html/wp-content/themes/enfold/framework/php/inc-avia-download-demo.php
/var/www/vhosts/alydarllc.com/html/wp-content/themes/enfold/includes/admin/option_tabs/avia_demo.php
[root@virtual construction]#I am not sure what to do now. please advise.
July 8, 2023 at 7:05 pm #1412748By the way, I ran the construction.html file and it took me back to github, but that showed me this:
enfold-library/demos/construction/construction.zip
Latest commit
Cannot retrieve latest commit at this time.Any ideas?
July 8, 2023 at 7:49 pm #1412754Hi,
How to manually import a theme demo
Please add following line to Functions.php file in Appearance > Editor
add_theme_support( 'avia_demo_store_downloaded_files' );
Download the construction zip file from https://github.com/KriesiMedia/enfold-library/tree/master/demos
Extract it in \uploads\avia_demo_files\ folder.
please create the \avia_demo_files\ directory
Go to Enfold theme options > Demo Import and import the demo
Please note there are only two files in the construction.zip:
construction.txt
construction.xml
The xml file is a WordPress export file that calls the demo files from our server, if you have issues with the above steps you can go to WordPress ▸ Tools ▸ Import ▸ WordPress and import/upload the construction.xml file.
If you still get an error check if your server is blocking https://kriesi.at/ for some reason.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.