PHP Notice: Undefined variable: inset2

Elegant Joomla template designed especially for both professional and personal website presentation.
GK User
Sun Dec 12, 2010 7:10 am
[08-Dec-2010 14:57:20] PHP Notice: Undefined variable: inset2 in /home/mainsite/public_html/mywebsite/templates/postnote/layouts/blocks/main.php on line 17
User avatar
Fresh Boarder

teitbite
Mon Dec 13, 2010 1:12 am
Hi

Have You set the width value for insets ?

Anyway it's just a notice, not an error, so You can just hide it by disabling the error show in Joomla Panel Global setting for server.
User avatar
Moderator

GK User
Mon Jan 03, 2011 4:38 am
Hi

I Set NONE in Control Panel - Server ERROR NOTICE BUT, THE templates/gk_mystore/layouts/blocks/main.php on line 17 STILL DISPLAY.

I DONT WANT DISABLE THIS NOTICE ERROR , I WANT RESOLVED THIS PROBLEM IN LINE 17 .

HOW I CAN CHANGE CODE ??

TO REGARDS

THANK YOU
User avatar
Senior Boarder

teitbite
Tue Jan 04, 2011 3:32 pm
Hi

Please send me joomla access. I'll see what have You set for this value in template settings.
User avatar
Moderator

GK User
Thu Jan 20, 2011 12:55 pm
Hi Teibite

I Create a User name for you,

My Best Regards

Qz marcia
User avatar
Senior Boarder

teitbite
Sat Jan 22, 2011 3:54 pm
Hi

I believe that this can be related with the 0 values in template settings. You can set anything there. It's not gonna be shown until You place something into that column.



Where is this notice, I couldn't have seen it ;/
User avatar
Moderator

GK User
Sat Jan 29, 2011 10:51 am
final-check_2011-01-29.jpg


Hi i create a custom module publish, and change value from 0 to 10 .
But the error notice, still display.

And have a new notice in search module.

I realized that the error only appear in the checkout page. in these two sites have news of errors and do not know how to fix it.

Could someone help me?

The news is a: templates / gk_mystore / layouts / blocks / main.php on line 17
2 The news is: / templates / gk_mystore / html / mod_search / default.php on line 56

Please

My best Regards

Qzmarcia
User avatar
Senior Boarder

GK User
Sat Jan 29, 2011 5:46 pm
Hi

PHP errors, notices, and warnings may be turned off by adding the following code within your joomla website .htaccess file:

Code: Select all
php_flag display_errors off


Please try it.

Cheers ;)
User avatar
Platinum Boarder

GK User
Tue Feb 08, 2011 12:57 pm
Hi Dear Seichinha

I entry in my htacess but, i dont no WHERE adding this line.

This is the htacess, alright?


## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
# mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ ".xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

# RewriteBase /


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.feed|.pdf|.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
User avatar
Senior Boarder


cron