-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demo content install issue #25
Comments
Your download link is 404 http://www.bbioon.com/window/demos/ It should be an empty page with 400 error code, like this |
i moved the url to http://www.bbioon.com/window/demo_content/ what should i do? |
@moldcraft i need help here |
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 |
Or you can debug this script on your sever to check where the execution is not going well. |
i solved the error but i'm getting a new error i tried with two different zip files what is the wrong with this? |
I don't know, I need to inspect your code to find the problem. |
i sent you an email with the access details. thank you. |
Thanks, I will take a look in a few hours. |
Hello, It took me a lot of time to investigate that issue, so I will inspect this issue tomorrow. |
it still give me the error i also tried another zip files, other host. i can't find the solution. did you find any solution ? @moldcraft |
Hello, I was busy with other tasks and forgot about this, sorry. Error code I inspected your server:
|
do you mean i have to download this archive and decompress it then compress it again with my zip archiver to .zip file ? as you wrote above i tried to extract the can you describe the solution you provided for more help? Thank you for your help. |
You need
|
this is what i did:
i extracted the files on the server and removed 2 files:
as you meant i have sent you the download link for the original file (without any edit). |
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. |
Inspecting... Please don't do anything on the server. I will let you know when I am done |
okay... |
this is the main demo http://bbioon.com/window/news i can provide you with the access information when you need it. |
I compared the original |
if you need to create a new demo content zip i can provide you with the admin access on the main demo site. |
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 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. |
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 |
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. |
i can wait you, take your time. thank you for the help. |
@eyeswizard Hi, If
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. |
@moldcraft Nice one! |
hello i am new in unyson i want to implement demo import can you help me to do this? |
Hi @nobingit Hope it will be back to live again one day. Regards. |
Thank you su much
…On Wed, May 18, 2022, 10:54 PM AHMAD WAEL ***@***.***> wrote:
Hi @nobingit <https://github.com/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.
—
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATTX2A435IQ5CB57ZRULGOTVKUOE5ANCNFSM4CKUG25Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
hello guys,
i'm facing this error while i'm trying to install demo content
Invalid byte position (current: 0, received: 0)
this is the code i'm using in my functions.php
and this is the code i'm using in config.php
i can provide you with any login data that you need
The text was updated successfully, but these errors were encountered: