Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 22. Nov 2024, 05:03

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 27. Oct 2017, 23:14 
Offline
User avatar

Joined: 13. Apr 2015, 18:55
Posts: 52
The website encountered an unexpected error. Please try again later.
Error: Call to undefined function get_option() in include() (line 41 of plugins\advanced-iframe\includes\advanced-iframe-main-read-config.php).
include() (Line: 301)
advancediFrame->do_iframe_script(NULL, NULL) (Line: 151)
include('C:\Websites\Drupal\plugins\advanced-iframe\standalone\standalone-advanced-iframe.php') (Line: 60)
require('C:\Websites\Drupal\plugins\advanced-iframe\standalone\standalone-example.php') (Line: 43)
bartik_preprocess_page(Array, 'page', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)

Any clue why it cannot find get_option()?
Regards, Marc

_________________
Greetings from sunny Curaçao!


Last edited by marcverkade on 28. Oct 2017, 06:55, edited 1 time in total.

Top
 Profile  
 
PostPosted: 28. Oct 2017, 06:55 
Offline
User avatar

Joined: 13. Apr 2015, 18:55
Posts: 52
Solved - The following variables were not global!
When added to 'standalone-advanced-iframe.php' it started doing something...
See next post for the rest of the story...

global $iframeStandaloneDefaultOptions;
global $aip_standalone;
global $iframeStandaloneOptions;
global $domain;
global $html;

_________________
Greetings from sunny Curaçao!


Top
 Profile  
 
PostPosted: 29. Oct 2017, 17:27 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
But the global stuff is only needed because of the lazy load of drupal?
Because I only use global variables when really needed.

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy