Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
GeoPal
Experienced
Posts: 227
Joined: 20 Dec 2007, 12:56

Re: X3 Panorama Plugin [X3.26.0 Beta]

18 Feb 2019, 05:30

I got :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@panomagic.eu.nsfb.net to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Now site is "offline", have to figure out how to bring it back
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3 Panorama Plugin [X3.26.0 Beta]

18 Feb 2019, 08:57

GeoPal wrote:The server encountered an internal error or misconfiguration and was unable to complete your request
Upgraded from X3.27.3? A bit strange, as I haven't edited any PHP. The only suspect would be the following line added to panel, but if anything, it would only create an error in panel:
Code
@ini_set('default_charset', 'UTF-8');
For me to diagnose the problem as quickly as possible, I would like 1) Link, 2) Panel login, 3) FTP login if possible, and 4) would be useful to see the server error log.

Seems a bit strange.
 
MikeR
Experienced
Posts: 216
Joined: 29 Sep 2006, 09:58

Re: X3 Panorama Plugin [X3.26.0 Beta]

18 Feb 2019, 09:54

I had the same problem when I updated to x3.27.2 (I guess)
I could not access to my website
it was related to the .htaccess file
I renamed the .htaccess file
I created a new one

Karl I can send you the .htaccess file which blocked the access if you want
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3 Panorama Plugin [X3.26.0 Beta]

18 Feb 2019, 11:43

Sorry I first replied thinking it was @GeoPal.
MikeR wrote: I had the same problem when I updated to x3.27.2 (I guess)
I could not access to my website
it was related to the .htaccess file
I renamed the .htaccess file
I created a new one

Karl I can send you the .htaccess file which blocked the access if you want
It is not clear to me what .htaccess file you replaced the original .htaccess file with.

I would like to see both 1) The one that wasn't working, and 2) The one that now is working.
 
MikeR
Experienced
Posts: 216
Joined: 29 Sep 2006, 09:58

Re: X3 Panorama Plugin [X3.26.0 Beta]

18 Feb 2019, 11:54

email sent with the 2 files
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3 Panorama Plugin [X3.26.0 Beta]

19 Feb 2019, 08:04

@MikeR @GeoPal
I have now updated the X3 updater script, fixing issues occurring when using # custom rules:
  • Fixed an issue that was replacing "/n" with a line-break @GeoPal.
  • Custom rules are now added to TOP of .htaccess file @MikeR.
 
User avatar
GeoPal
Experienced
Posts: 227
Joined: 20 Dec 2007, 12:56

Re: X3 Panorama Plugin [X3.26.0 Beta]

19 Feb 2019, 09:08

Thank you for the fast fix!
 
MikeR
Experienced
Posts: 216
Joined: 29 Sep 2006, 09:58

Re: X3 Panorama Plugin [X3.26.0 Beta]

19 Feb 2019, 17:25

Thanks, as always  :thumbsup:
 
RAVE
Posts: 2
Joined: 08 Jun 2017, 05:26

Re: X3 Panorama Plugin [X3.26.0 Beta]

25 Feb 2019, 17:47

Hi Karl,

thank you for your awesome work on this and the whole project!

After the last update i made to X3.27.5 my own implementation for panorama did not work anymore :(

Here the version X3.25.1 that works:

https://sd-pictures.de/content/3.Fotogr ... adena.html

And here the version X3.27.5 that doesn´t work:

http://luftbild.sd-pictures.de/content/ ... adena.html

You have maybe a sugestion for me :)

Best regards, Ralf
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3 Panorama Plugin [X3.26.0 Beta]

26 Feb 2019, 00:48

RAVE wrote:Here the version X3.25.1 that works:
https://sd-pictures.de/content/3.Fotogr ... adena.html

And here the version X3.27.5 that doesn´t work:
http://luftbild.sd-pictures.de/content/ ... adena.html
Hmm, but none of these links are X3, but some panoStudioViewer.js. I'm not sure what this has to do with X3.

I did diagnose the second link, and in console, I get an error "Refused to execute script from 'http://luftbild.sd-pictures.de/content/ ... 1159810125' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled."
Image
Looks like something related to your plugin. I found a related post here:


The above is not related to X3 panorama plugin or even X3 at all.

Try to temporarily rename X3's .htaccess to diabled.htaccess, and see if it makes any difference.
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3 Panorama Plugin [X3.26.0 Beta]

26 Feb 2019, 01:32

X3.27.5 was released.
  • Fixed topbar clicktoggle bug [forum].
  • Fixed TABS deep-linking [example].
  • Humanized page-nav so that "my_folder-name" will display as "My Folder Name" [forum].
  • Fixed error-output in diagnostics when attempting to write RewriteBase to .htaccess.
  • Up/down key controls for scrollnav are now blocked when panorama is open [demo].
  • Fixed a Javascript console bug when navigating away from a page with carousel that is loading an image.
  • Updated panel help for flat panoramas and BCC email recipients feature.
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3 Panorama Plugin [X3.26.0 Beta]

26 Feb 2019, 02:06

New Releases [X3.26.0] + [X3.27.0]
Today, we officially launched X3.26.0 and X3.27.0. Read more:
viewtopic.php?f=51&t=9750

No more posts in this X3.26.0 panorama BETA thread please. If you have questions specifically related to the panorama plugin, please post in the panorama plugin forum. If you have other questions related to latest release, please post in the new [X3.26.0] + [X3.27.0] thread.

* This topic is locked.
 
RAVE
Posts: 2
Joined: 08 Jun 2017, 05:26

Re: New Releases [X3.26.0] + [X3.27.0] :penguin:

26 Feb 2019, 11:32

Hi Karl,

just for information, your hint with the .htaccess fixed my problem with the 3rd party js plugin ;)

It was this line in .htaccess:
Header set X-Content-Type-Options nosniff

Thank you for your help and best regards,
Ralf
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3 Panorama Plugin [X3.26.0 Beta]

27 Feb 2019, 01:56

I moved your topic here, to continue
RAVE wrote:It was this line in .htaccess:
Header set X-Content-Type-Options nosniff
Good find. A bit strange, as that means your external plugin must be loading the JSON file as JSONP (simulating Javascript), in which case the Javascript will refuse to execute with MIME type 'application/json', which is correct. So for now, to allow your external plugin to operate under the same domain, you may need to remove that line after updating X3.

The X-Content-Type-Options nosniff should really be a smart security implementation. It would block PHP files disguised as JS or CSS from executing in browser.
https://stackoverflow.com/questions/183 ... ns-nosniff

... But then again, this level of security would only be useful if your website is open to uploads from untrusted users. I would consider removing it from htaccess if others have problems, but you can never get paranoid enough about security for your website
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3 Panorama Plugin [X3.26.0 Beta]

15 Mar 2019, 06:55

Panorama plugin documentation
Official X3 panorama plugin documentation can now be found here:
https://www.photo.gallery/docs/plugins/panorama/