Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MonsterGallery Plugin
#26
(2023-09-24, 02:30:49)multicolor Wrote:
(2023-09-24, 01:47:49)Tzvook Wrote:
(2023-09-24, 01:10:32)islander Wrote: Does imagebrowser work in other areas of GS?

Yes

(2023-09-24, 01:10:32)islander Wrote: maybe try using the PL lang file instead of EN, just to see if that does anything different for you.

Yes - same issue

root domain or subdomain/subfolder?

subdomain
Reply
#27
Ok. I will check this next week
Reply
#28
(2023-09-24, 02:30:49)multicolor Wrote:
(2023-09-24, 01:47:49)Tzvook Wrote:
(2023-09-24, 01:10:32)islander Wrote: Does imagebrowser work in other areas of GS?

Yes

(2023-09-24, 01:10:32)islander Wrote: maybe try using the PL lang file instead of EN, just to see if that does anything different for you.

Yes - same issue

root domain or subdomain/subfolder?

Well, just tried the I18N Gallery and the same issue occur.
the Image browser is working just for the wysiwyg
Reply
#29
Ok check you have the same site url on settings. If you use with www. domain, you must use www. From begin adress too. Domain with and without www is different from gs and make blank screen on image file browser
Reply
#30
O.k. found the source of the issue:



I changed this:
Code:
    include('../../../gsconfig.php');
    $admin = defined('GSADMIN') ? GSADMIN : 'admin';
    include("../../../".$admin."/inc/common.php");


into this:

Code:
<?php
//    include('../../../gsconfig.php');
    $admin = defined('GSADMIN') ? GSADMIN : 'admin';
    include("../../../admin/inc/common.php");
And weirdly it works

from some reason it don't like my gsconfig.php , only including it gives a 505 error
Reply
#31
Possibly missing an ' or ;
Where there any edits done to it after install?
Maybe replace it with a fresh one.


GS Community Edition with php8.x compatibility, new features and much more!  Support Me


Reply
#32
(2023-09-26, 02:35:11)islander Wrote: Possibly missing an ' or ;
Where there any edits done to it after install?
Maybe replace it with a fresh one.

Edits of course :-) I use GS for ages now ...
anyway - those two are the cause, and it happens only in the imagebrowser :-)

define('GSSTYLE',GSSTYLEWIDE);

define('I18N_SINGLE_LANGUAGE', true);
Reply
#33
OK, glad you got it figured out.
Very strange. I havent had any problem with I18N_SINGLE_LANGUAGE, but have never used GSSTYLE.
Was this with the CE version or or 3.3.16?
Just wondering what would be throwing that error.


GS Community Edition with php8.x compatibility, new features and much more!  Support Me


Reply
#34
(2023-09-26, 06:59:07)islander Wrote: OK, glad you got it figured out.
Very strange. I havent had any problem with I18N_SINGLE_LANGUAGE, but have never used GSSTYLE.
Was this with the CE version or or 3.3.16?
Just wondering what would be throwing that error.

Yep - weird
I'm using the CE version 
GSSTYLE is not relevant with the CE and the massive-admin, but I18N_SINGLE_LANGUAGE is sometime needed ...
Anyway, when i'll need it - I'll deal with it :-)
Reply
#35
Where should I insert weed seeds amazon sale event the shortcode <?php monsterGalleryShow("example");?>[% mg=example %] ?
Reply
#36
(2024-02-15, 22:39:15)Melyssfrtz77 Wrote: Where should I insert the shortcode <?php monsterGalleryShow("example");?>[% mg=example %] ?

The
Code:
<?php monsterGalleryShow("example");?>
Should be placed directly in your template where you would like the gallery to appear.

Alternatively you can paste the
Code:
[% mg=example %]
Code directly within the creditor content area of a page.


GS Community Edition with php8.x compatibility, new features and much more!  Support Me


Reply
#37
Monster Gallery CE Edition 3.2

After creating the first gallery and adding the shortcode to a page, the preview of that page brought this message:

Code:
[28-Jul-2024 15:06:09 Europe/Amsterdam] PHP Warning:  file_exists(): open_basedir restriction in effect. File(../LICENSE) is not within the allowed path(s): (/var/www/vhosts/hostxxxxxxxxxxxxxxxxxxxxxxxx/xxx.de/httpdocs/:/tmp/:/var/lib/php/sessions:/var/www/vhosts/hostxxxxxxxxxxxxxxxxxxxxxxxx/tmp) in /var/www/vhosts/hostxxxxxxxxxxxxxxxxxxxxxxxx/xxx.de/httpdocs/admin/inc/common.php on line 338


=> open_basedir was set to : "{DOCROOT}{/}{:}{TMP}{/}{:}{/}var{/}lib{/}php{/}sessions{:}{WEBSPACEROOT}{/}tmp (Standard)"
I had to change it in the hoster's PLESK configuration to:
{WEBSPACEROOT}{\/}{:}{TMP}{\/}{:}{\/}var{\/}lib{\/}php{\/}sessions"



then one message still occured:
Code:
[28-Jul-2024 15:06:09 Europe/Amsterdam] PHP Fatal error:  Cannot redeclare mgShow() (previously declared in /var/www/vhosts/hostxxxxxxxxxxxxxxxxxxxxxxxx/xxx.de/httpdocs/plugins/monsterGallery.php:70) in /var/www/vhosts/hostxxxxxxxxxxxxxxxxxxxxxxxx/xxx.de/httpdocs/plugins/monsterGallery.php on line 70
any chance for me to use this version?


Attached Files Thumbnail(s)
   
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#38
https://stackoverflow.com/questions/1846...owed-paths look about this
Reply




Users browsing this thread: 1 Guest(s)