Forum Replies Created
-
AuthorPosts
-
July 8, 2023 at 7:05 pm in reply to: Cannot download demo file for enfold – trying to get construction demo #1412748
By 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 6:33 pm in reply to: Cannot download demo file for enfold – trying to get construction demo #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.
-
AuthorPosts