Comments (32)
Thanks, I will take a look in a few hours.
from unyson-backups-extension.
The release will be tomorrow ThemeFuse/Unyson-Extensions-Approval#241
So better submit your theme tomorrow in the evening when the update will be live and the TF staff will be able to test your theme without encountering this problem.
from unyson-backups-extension.
Your download link is 404 http://www.bbioon.com/window/demos/
It should be an empty page with 400 error code, like this
from unyson-backups-extension.
i moved the url to http://www.bbioon.com/window/demo_content/
what should i do?
from unyson-backups-extension.
@moldcraft i need help here
from unyson-backups-extension.
from unyson-backups-extension.
It works http://www.bbioon.com/window/demo_content/?id=news-demo&position=0
Maybe you have antivirus that is blocking requests to your site (if it is on localhost).
If the site is live, can you send me admin/ftp access to moldcraft[at]email.com
?
from unyson-backups-extension.
Or you can debug this script on your sever to check where the execution is not going well.
from unyson-backups-extension.
i solved the error Invalid byte position (current: 0, received: 0)
i tried to upgrade php version from 5.4 to 5.6 and it worked
but i'm getting a new error Zip open failed (code 19). Please try again
i tried with two different zip files
what is the wrong with this?
from unyson-backups-extension.
this is my activated php extensions
from unyson-backups-extension.
I don't know, I need to inspect your code to find the problem.
from unyson-backups-extension.
i sent you an email with the access details.
thank you.
from unyson-backups-extension.
Hello,
It took me a lot of time to investigate that issue, so I will inspect this issue tomorrow.
from unyson-backups-extension.
it still give me the error Zip open failed (code 19). Please try again
i tried the theme and files on another server and it gives me the same error.
i also tried another zip files, other host. i can't find the solution.
did you find any solution ? @moldcraft
from unyson-backups-extension.
Hello,
I was busy with other tasks and forgot about this, sorry.
Error code 19
means Not a zip archive
I inspected your server:
-
I downloaded
wp-content/uploads/fw-backup/tmp/piecemeal.zip
-
I tried to open it with php
add_action('admin_notices', function(){ $zip = new ZipArchive(); fw_print( $zip->open( fw_fix_path(ABSPATH) .'/wp-content/uploads/fw-backup/tmp/piecemeal.zip' ) ); });
and I get the
19
error code on both your server and my localhost. -
It opens on my PC with Archivator App, but I get error when I do extract.
- Maybe the problem is in these files which contains corrupted characters in their name.
- One time a similar problem, the problem was in Windows Archivator App, for some reason the archives created with it couldn't be opened in PHP. The solution was to create the archives for demo install with WinRar.
from unyson-backups-extension.
do you mean i have to download this archive and decompress it then compress it again with my zip archiver to .zip file ?
or to .rar file?
as you wrote above i tried to extract the news.zip
on my server and compressed it again and it gives me the same error Code 19
.
can you describe the solution you provided for more help?
i'm about uploading the theme to themeforest and i only have to fix this issue to create the demo content for the buyers.
Thank you for your help.
from unyson-backups-extension.
You need .zip
.
- Can you upload to dropbox (or some similar service) your Content Backup zip and send me the download link to
moldcraft[at]email.com
? - Have you tried to remove those files with corrupted name from the archive?
from unyson-backups-extension.
this is what i did:
- I downloaded the content zip file.
- extracted it and compressed it again and uploaded it to the server.
- The same error again.
i extracted the files on the server and removed 2 files:
88103 07-26-2016 03:08 f/uploads/2016/07/Window-???-news-logo-1.png
3709 07-26-2016 03:08 f/uploads/2016/07/Window-???-news-logo.png
as you meant files with corrupted name
above
and compressed the file again and still give me the error.
i have sent you the download link for the original file (without any edit).
from unyson-backups-extension.
Small notice: when i use the same file in the restore backup page it works correctly, which it means there is no issue with the file but the issue may be with the demo install system.
from unyson-backups-extension.
Inspecting... Please don't do anything on the server. I will let you know when I am done
from unyson-backups-extension.
okay...
from unyson-backups-extension.
this is the main demo http://bbioon.com/window/news i can provide you with the access information when you need it.
from unyson-backups-extension.
I compared the original news.zip
and the downloaded piecemeal.zip
and they differ by 3 bytes at the beginning of the file. I am trying to figure out where they come from
from unyson-backups-extension.
if you need to create a new demo content zip i can provide you with the admin access on the main demo site.
from unyson-backups-extension.
-
I added here
file_get_contents('http://requestb.in/...?'. http_build_query(array( 's' => strlen($data) )));
and it shows
s=3000000
-
I added here
file_get_contents('http://requestb.in/...?'. http_build_query(array( 's' => strlen($response['body']) )));
and it shows
s=3000003
.Also to check if the problem maybe is in
wp_remote_get()
, I added herefile_get_contents('http://requestb.in/...?'. http_build_query(array( 's' => strlen(file_get_contents(add_query_arg( array( 'id' => urlencode($args['file_id']), 'position' => $state['position'], 'size' => $state['piece_size'], ), $args['url'] ))) ))); return new WP_Error('t', 'Test');
and it also shows
s=3000003
.
So something is adding 3 bytes to server response content.
I added here
file_get_contents('http://requestb.in/...?'. http_build_query(array(
'c' => substr(file_get_contents(add_query_arg(
array(
'id' => urlencode($args['file_id']),
'position' => $state['position'],
'size' => $state['piece_size'],
),
$args['url']
)), 0, 3)
)));
and it shows cc=%EF%BB%BF
.
Google shows that others encountered this problem, and it turns out that this character sequence is related to UTF-8 BOM.
I will add a fix that removes those extra bytes.
from unyson-backups-extension.
which explains that the same file works correctly in the restore backup page and didn't work with the same file when needs to request it from the server
from unyson-backups-extension.
i can wait you, take your time.
thank you for the help.
Best regards...
from unyson-backups-extension.
@eyeswizard Hi, If
this Invalid byte position (current: 0, received: 0)
is your error so just check the your config.php file for proper linking your zip file. 'news-demo' => dirname(FILE) . '/content/news.zip', this is your content link so try to change "/content" to "content" no need to add "/" if your download script in "demo_content" folder. By the way, I got the same problem in my theme solved the problem by changing the path.
from unyson-backups-extension.
@moldcraft Nice one!
from unyson-backups-extension.
The release will be tomorrow ThemeFuse/Unyson-Extensions-Approval#241
So better submit your theme tomorrow in the evening when the update will be live and the TF staff will be able to test your theme without encountering this problem.
hello i am new in unyson i want to implement demo import can you help me to do this?
from unyson-backups-extension.
Hi @nobingit
Unyson framework is a great framework, but it's now discontinued project, I would suggest you to get another framework like carbonfields.net.
Hope it will be back to live again one day.
Regards.
from unyson-backups-extension.
from unyson-backups-extension.
Related Issues (20)
- Export selected db tables only
- Export custom folder HOT 6
- Database Restore, case sensitive table name HOT 1
- Unspecified ajax error ( Backups 2.0.23 ) HOT 7
- theme_mods name replace HOT 1
- Canot make full backup because of installed plugin
- Issues unzipping demo-content when wordpress root is on NFS HOT 6
- Disable donations HOT 6
- Can we do flush rewrite rules on demo content installation complete? HOT 2
- Full Backup fails, Content backup ok HOT 1
- HTTP to HTTPS replace during demo content install
- Backup stuck at "Directory cleanup" HOT 2
- Backup Extension plugin HOT 1
- Array and string offset access syntax with curly braces is no longer supported in PHP 7.4+
- "Cannot create temporary directory" Error on my AWS Virtual Server when Installing Demo and Content Extension HOT 1
- Loopback in the code
- curl connection timeout both in unyson-backup-extension and normal unyson HOT 5
- Duplicate foreign key constraint name 'fk_wp_wc_download_log_permission_id'
- PHP 8.x Images sizes issue with demo import
- Failed to create tmp table _fwbk_wp_actionscheduler_actions.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unyson-backups-extension.