[SOLVED] Map on registration page(white screen)

More
11 years 1 month ago - 11 years 1 month ago #17355 by baparks
If I enable Map on registration I get a white screen when I try to open the registration page.
To be clear I can enable the plugin and everything is fine but if I enable the parameter Map on registration:, instant white screen.

Please assist.


Notice: Undefined variable: _CB_framework in /mnt/data/vhosts/casite-486400.cloudaccess.net/httpdocs/components/com_comprofiler/plugin/user/plug_geommunitylocator/geommunitylocator.php on line 68
Call Stack
# Time Memory Function Location
1 0.0002 706088 {main}( ) ../index.php:0
2 0.4320 23702728 JSite->dispatch( ) ../index.php:42
3 0.4365 23707656 JComponentHelper::renderComponent( ) ../application.php:197
4 0.4389 23710784 JComponentHelper::executeComponent( ) ../helper.php:351
5 0.4465 24925448 require_once( '/mnt/data/vhosts/casite-486400.cloudaccess.net/httpdocs/components/com_comprofiler/comprofiler.php' ) ../helper.php:383
6 0.5249 34871696 registerForm( ) ../comprofiler.php:128
7 0.6413 50017184 HTML_comprofiler::registerForm( ) ../comprofiler.php:956
8 0.6450 50270864 cbTabs->getEditTabs( ) ../comprofiler.html.php:1175
9 0.6939 50707912 cbTabs->_callTabPlugin( ) ../comprofiler.class.php:3624
10 0.6939 50708752 cbPluginHandler->call( ) ../comprofiler.class.php:4187
11 0.6948 50722248 call_user_func_array ( ) ../plugin.class.php:583
12 0.6948 50722344 getGeommunityLocatorTab->getDisplayRegistration( ) ../plugin.class.php:583
13 0.6948 50722440 getGeommunityLocatorTab->getDisplayReg( ) ../geommunitylocator.php:29


Fatal error: Call to a member function getCfg() on a non-object in /mnt/data/vhosts/casite-486400.cloudaccess.net/httpdocs/components/com_comprofiler/plugin/user/plug_geommunitylocator/geommunitylocator.php on line 68
Call Stack
# Time Memory Function Location
1 0.0002 706088 {main}( ) ../index.php:0
2 0.4320 23702728 JSite->dispatch( ) ../index.php:42
3 0.4365 23707656 JComponentHelper::renderComponent( ) ../application.php:197
4 0.4389 23710784 JComponentHelper::executeComponent( ) ../helper.php:351
5 0.4465 24925448 require_once( '/mnt/data/vhosts/casite-486400.cloudaccess.net/httpdocs/components/com_comprofiler/comprofiler.php' ) ../helper.php:383
6 0.5249 34871696 registerForm( ) ../comprofiler.php:128
7 0.6413 50017184 HTML_comprofiler::registerForm( ) ../comprofiler.php:956
8 0.6450 50270864 cbTabs->getEditTabs( ) ../comprofiler.html.php:1175
9 0.6939 50707912 cbTabs->_callTabPlugin( ) ../comprofiler.class.php:3624
10 0.6939 50708752 cbPluginHandler->call( ) ../comprofiler.class.php:4187
11 0.6948 50722248 call_user_func_array ( ) ../plugin.class.php:583
12 0.6948 50722344 getGeommunityLocatorTab->getDisplayRegistration( ) ../plugin.class.php:583
13 0.6948 50722440 getGeommunityLocatorTab->getDisplayReg( ) ../geommunitylocator.php:29
Last edit: 11 years 1 month ago by baparks.

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #17361 by nordmograph
Hello

Obviously your
com_comprofiler/plugin/user/plug_geommunitylocator/geommunitylocator.php on line 68
line 68 is not the same as mine, can you post it?

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #17367 by baparks
as it's 1170 lines long I'm attaching the file

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #17368 by nordmograph
No please don't attach the file.
Only past in here line 68 's content.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #17369 by baparks
Code:
$juri = $_CB_framework->getCfg( 'live_site' );

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #17371 by nordmograph
I see

Few lines after (4) you'l find this:
Code:
global $_CB_framework,$_CB_database;

Move it before your line 68, it should fix your issue.
Let me know

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

Time to create page: 0.388 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.