Open daknoxy opened 4 years ago
Hi daknoxy,
I will look in to this and see what is wrong.
Best
Per
Hi Per
Thats great.
Thanks Daniel
Hi daknoxy and thanks for your feedback. It seems that wordpress has been updated and now it is required to use an index.php. I added an index.php file to the repo now so you can first try downloading that file and pasting it into the 3dviewer directory and refresh the wordpress page. If it does not work, I recommend redoing the installation from the beginning. I also made some changes to the instructions to clarify some steps.
//Erik
Hi Erik
Thanks that has fixed the issue
From: eriol726 notifications@github.com Reply to: RaySpaceAB/3Dviewer reply@reply.github.com Date: Tuesday, 11 February 2020 at 21:45 To: RaySpaceAB/3Dviewer 3Dviewer@noreply.github.com Cc: Daniel Knox daniel@advertisingworks.co.uk, Author author@noreply.github.com Subject: Re: [RaySpaceAB/3Dviewer] Missing index file and issue when updating post (#2)
Hi daknoxy and thanks for your feedback. It seems that wordpress has been updated and now it is required to use an index.php. I added an index.php file to the repo now so you can first try downloading that file and pasting it into the 3dviewer directory and refresh the wordpress page. If it does not work, I recommend redoing the installation from the beginning. I also made some changes to the instructions to clarify some steps.
//Erik
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/RaySpaceAB/3Dviewer/issues/2?email_source=notifications&email_token=AOQOX3MWG3GS2SHADEAWB5TRCML6HA5CNFSM4KSL3R5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELOGHEA#issuecomment-584868752, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOQOX3JJJYTZNVAARSWBW6LRCML6HANCNFSM4KSL3R5A.
Hi Reik
Thanks the files and instructions solved the issue, but we are having a strange one where when we add the clients Sketchfab url on the post that's fine. When we view on frontend the graphics loads for about 1sec and then goes to a 404 error. Do you know if that is a Sketchfab restriction issue?
How does the HTML-code look that you have in wordpress post content? It should look something like this:
<div class="sketchfab-embed-wrapper"><iframe id="api-frame" src="https://sketchfab.com/3d-models/29a99203ec8d4929bf94922bdb560a84/embed" frameborder="0" allowfullscreen="allowfullscreen"></iframe></div>
.
If the model reference (the src=
)is incorrect you will get the 404 error. So the model reference must look somthing like: https://sketchfab.com/3d-models/29a99203ec8d4929bf94922bdb560a84/embed
where 29a99203..... is the model id
html content looks correct
and is appear to load for a split second (with the 3D render and then it goes on to 404) Client checking with Sketchfab as they are on a basic package and wonder if there is limiter or something on itWhen I check developer console on frontend I can see it translates as the code below and when I look at the screen url this show a 404
Try copy and paste:
<div class="sketchfab-embed-wrapper"><iframe id="api-frame" src="https://sketchfab.com/models/0c121fdfa4f744f9851def9427d372c2/embed" frameborder="0" allowfullscreen="allowfullscreen"></iframe></div>
The model reference in your post starts with 3d-models/sy-carola
it should just be: models/
and then the URI.
All great now, thanks
Hi Ray I tried installing the theme however the index.php file is missing from theme package, however I added one to get the theme installed. However when I update the post I am getting warnings and issues which relate to the annotation fields plugin.
Warning: Cannot modify header information - headers already sent by (output started at /scotmar/app/public/wp-content/plugins/annotation-fields/annotation-fields.php:144) in /scotmar/app/public/wp-includes/pluggable.php on line 1268
When viewing a post the Sketchviewer doesn't load and I don't see the navigation (just a black screen with footer) are you able to advise?