Register | FAQ Search Today's Posts Mark Forums Read
Old 03-17-2009   #1 (permalink)
Ok, down to business
 
debonair_86's Avatar
[+] more user info
 
debonair_86 is offline  
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Answered: error



hello to all,
First of all i'm from greece so excuse me for the limited range of my vocabulary, i'm new in your forum!
Secondly i' don't have ready my site and i can't show it..
I have installed the module and the images BUT...
it appears a message like that
Notice: Undefined variable: hoverNavShowCSS in C:\wamp\www\modules\mod_jj_superslider\helper.php on line 267

Notice: Undefined variable: hoverDirButtonsShowCSS in C:\wamp\www\modules\mod_jj_superslider\helper.php on line 270

Notice: Undefined variable: ie6_css in C:\wamp\www\modules\mod_jj_superslider\helper.php on line 274

and i can't fix it
also i have put 5 images and only tow of them appears to my site...
Somebody to help please

Last edited by debonair_86; 03-17-2009 at 06:38 PM.
  Reply With Quote
This is a Advertisement. Sign up to have these ads removed.

Best Answer - Posted by Andy

No, this is not correct, it needs to be inside other php

Try this

See at the top of the template
PHP Code:
<?php
// no direct access
defined'_JEXEC' ) or die( 'Restricted access' );
?>
Add it there like this

PHP Code:
<?php
// no direct access
defined'_JEXEC' ) or die( 'Restricted access' );
error_reporting (E_ALL E_NOTICE); /* 1st line (recommended) */  
?>
That should do it... let me know
Old 03-17-2009   #2 (permalink)
Ok, down to business
 
debonair_86's Avatar
[+] more user info
 
debonair_86 is offline  
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts


nobody to help?
  Reply With Quote
Old 03-17-2009   #3 (permalink)
Co-Pilot & Owner
 
Andy's Avatar
[+] more user info
 
Andy is offline  
Join Date: Jan 2007
Location: Cape Town
Posts: 973
Thanks: 19
Thanked 497 Times in 379 Posts


Hi,

Just to clarify, these are NOT errors, they are notices.

See how it actually says

"Notice:"

Notice: Undefined variable: hoverNavShowCSS in C:\wamp\www\modules\mod_jj_superslider\helper.php on line 267

If it was an error it would say "Error:"

The notices are NOT important its for developers only. You are seeing this because you are using mamp or wamp or a similar localhost server that has php notifications or error reporting set to high.

Im not sure why only 2 images would show up, the only thing I can think is maybe the names are wrong or a small mistake somewhere but its hard to know for sure. Also, this is unlikely a problem with the module as it has not been reported by any users before so best look at the settings carefully

I hope this clarifies things.
  Reply With Quote
Has your question been answered? Please mark the response as the best answer. This helps us give you faster support.

Are you happy with our support? Please make us smile by writing a short review on Best of Joomla

Do you also love Twitter? Follow us on prothemer | jMorph | joomlatips |andyjamesneale
Old 03-18-2009   #4 (permalink)
Ok, down to business
 
debonair_86's Avatar
[+] more user info
 
debonair_86 is offline  
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts


Originally Posted by Andy View Post
Hi,

Just to clarify, these are NOT errors, they are notices.

See how it actually says

"Notice:"

Notice: Undefined variable: hoverNavShowCSS in C:\wamp\www\modules\mod_jj_superslider\helper.php on line 267

If it was an error it would say "Error:"

The notices are NOT important its for developers only. You are seeing this because you are using mamp or wamp or a similar localhost server that has php notifications or error reporting set to high.

Im not sure why only 2 images would show up, the only thing I can think is maybe the names are wrong or a small mistake somewhere but its hard to know for sure. Also, this is unlikely a problem with the module as it has not been reported by any users before so best look at the settings carefully

I hope this clarifies things.
So this notice won't appear at the end to the visitors?
I can't hide them? :mad:
  Reply With Quote
Old 03-18-2009   #5 (permalink)
Ok, down to business
 
debonair_86's Avatar
[+] more user info
 
debonair_86 is offline  
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts


Originally Posted by Andy View Post
Hi,

Just to clarify, these are NOT errors, they are notices.

See how it actually says

"Notice:"

Notice: Undefined variable: hoverNavShowCSS in C:\wamp\www\modules\mod_jj_superslider\helper.php on line 267

If it was an error it would say "Error:"

The notices are NOT important its for developers only. You are seeing this because you are using mamp or wamp or a similar localhost server that has php notifications or error reporting set to high.

Im not sure why only 2 images would show up, the only thing I can think is maybe the names are wrong or a small mistake somewhere but its hard to know for sure. Also, this is unlikely a problem with the module as it has not been reported by any users before so best look at the settings carefully

I hope this clarifies things.
So this notice won't appear at the end to the visitors?
I can't hide them? :mad:
  Reply With Quote
Old 03-18-2009   #6 (permalink)
Ok, down to business
 
debonair_86's Avatar
[+] more user info
 
debonair_86 is offline  
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts


Originally Posted by Andy View Post
Hi,

Just to clarify, these are NOT errors, they are notices.

See how it actually says

"Notice:"

Notice: Undefined variable: hoverNavShowCSS in C:\wamp\www\modules\mod_jj_superslider\helper.php on line 267

If it was an error it would say "Error:"

The notices are NOT important its for developers only. You are seeing this because you are using mamp or wamp or a similar localhost server that has php notifications or error reporting set to high.

Im not sure why only 2 images would show up, the only thing I can think is maybe the names are wrong or a small mistake somewhere but its hard to know for sure. Also, this is unlikely a problem with the module as it has not been reported by any users before so best look at the settings carefully

I hope this clarifies things.
So this notice won't appear at the end to the visitors?
I can't hide them? :mad:

if it helps i copy the php if you can look what mistakes i' ve done and i can't release them ...


<?php // no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

$slide_separator = " ";
//do not display separator for simple stylesheet
if ($stylesheet != "simple") {$slide_separator = " | ";}


echo '<div id="slider-content_mod' . $moduleId . '">
<!-- First we setup the user (number) controls -->
<div id="myController_mod' . $moduleId . '">
<div class="innerController_mod' . $moduleId . '">';
for($i=0;$i<count($arr_images);$i++){
echo '<span class="jFlowControl_mod' . $moduleId . '">';
if ($displayNav) {
switch ($navType) {
case 1: //slide numbers
echo '<span class="nav_number_mod' . $moduleId . '">' . ($i+1) . '</span>' . $slide_separator;
break;

case 2: //slide titles
echo '<span class="nav_title_mod' . $moduleId . '">' . $arr_titles[$i] . '</span>' . $slide_separator;
break;
case 3:
echo '<img alt="'. $arr_titles[$i] . '" title="'. $arr_titles[$i] . '" src="' . $img_path . '/thumbnails/jj_' . $arr_images[$i] . '"/>';
break;
}
}
echo '</span>';
}
echo '</div>';

echo '
</div>
<!--This is where we add the flow slides -->
<div id="jFlowSlide_mod' . $moduleId . '">
<div id="mySlides_mod' . $moduleId . '">
<!-- Slider START--> ';


for($i=0;$i<count($arr_images);$i++){
echo '<div class="jFlowSlideContainer_mod' . $moduleId . '"><div>';

//if slides are linked linked
if ($imagesLinked == 2) {
echo '<a href="' . $arr_urls[$i]. '" ' . $linkTarget .'>';
}

//display the image here
echo '<img alt="'. $arr_titles[$i] . '" src="' . $img_path . '/' . $arr_images[$i] . '"/>';

//close slide link
if ($imagesLinked == 2) {
echo '</a>';
}

//display caption holder if needed, and captions exist
if ((($arr_titles[$i] <> "") && $showTitles) || (($arr_captions[$i] <> "") && $showCaptions)) {
echo '<div class="slider-navbar_mod' . $moduleId . '">';

//display title only if it exists and is enabled
if (($arr_titles[$i] <> "") && $showTitles) {
echo '<h2 class="slideheading">';

if ($imagesLinked >= 1) { //if caption or image is linked
echo '<a href="' . $arr_urls[$i]. '" ' . $linkTarget .'>';
}

echo $arr_titles[$i]; //display title

//close caption link
if ($imagesLinked >= 1) {
echo '</a>';
}

echo '</h2>';}

//display title only if it exists and is enabled
if (($arr_captions[$i] <> "") && $showCaptions) {
echo '<p class="slidecaption">';

if ($imagesLinked >= 1) { //if caption or image is linked
echo '<a href="' . $arr_urls[$i]. '" ' . $linkTarget .'>';
}

echo $arr_captions[$i]; //display caption

//close caption link
if ($imagesLinked >= 1) {
echo '</a>';
}

echo '</p>';}

echo '</div>';
}

//close remaining divs
echo '</div></div>
';
echo $jjSlide;
}

echo '
</div><!-- End mySlides -->
</div> <!-- End jFlowSlide -->
<!-- Lastly we add the previous & next navigation buttons - the images are handled by image replacement in the css -->';
if ($displayNextPrevious) {
echo '<div class="dir_buttons_mod' . $moduleId . '"><span class="jFlowPrev_mod' . $moduleId . '">Previous</span><span class="jFlowNext_mod' . $moduleId . '">Next</span></div>';
}
echo '</div>';
?>

i have put 8 pictures with the following names... 1.jpg, 2.jpg e.t.c. although only two of them appears to my site :confused: whta happens?

Last edited by debonair_86; 03-18-2009 at 01:39 PM.
  Reply With Quote
Old 03-18-2009   #7 (permalink)
Co-Pilot & Owner
 
Andy's Avatar
[+] more user info
 
Andy is offline  
Join Date: Jan 2007
Location: Cape Town
Posts: 973
Thanks: 19
Thanked 497 Times in 379 Posts


Hi,

These will NOT show (hide them) if you set the correct security/error reporting on your php. See this image of how mine looks, but yours will look different depending what program you are using. This is NOT a template setting it is your php settings.

http://www.joomlajunkie.com/images/snaps/mamp.png

Notices turned on is default in many localhost server apps like mamp or wamp etc. You just need to see where to turn it off. There is nothing in the code that needs to be changed.

As for the images not showing, I cant see or do anything without seeing the Web site, if you can put it online then I can take a look and see what may be the problem.

If you have modified the code, I suggest you revert back and try from a clean copy and see if it works. Try giving the images proper names and not numbers as well, this may help.

Cheers,

Andy
  Reply With Quote
Has your question been answered? Please mark the response as the best answer. This helps us give you faster support.

Are you happy with our support? Please make us smile by writing a short review on Best of Joomla

Do you also love Twitter? Follow us on prothemer | jMorph | joomlatips |andyjamesneale
Old 03-18-2009   #8 (permalink)
Ok, down to business
 
debonair_86's Avatar
[+] more user info
 
debonair_86 is offline  
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts


Originally Posted by Andy View Post
Hi,

These will NOT show (hide them) if you set the correct security/error reporting on your php. See this image of how mine looks, but yours will look different depending what program you are using. This is NOT a template setting it is your php settings.

http://www.joomlajunkie.com/images/snaps/mamp.png

Notices turned on is default in many localhost server apps like mamp or wamp etc. You just need to see where to turn it off. There is nothing in the code that needs to be changed.

As for the images not showing, I cant see or do anything without seeing the Web site, if you can put it online then I can take a look and see what may be the problem.

If you have modified the code, I suggest you revert back and try from a clean copy and see if it works. Try giving the images proper names and not numbers as well, this may help.

Cheers,

Andy
ok just a moment ... i use wamp server and as i can see the following are on...
y2k compliance
expose PHP
display errors
log errors
report memleaks
enable dl
file uploads
allow url fopen
i have turn off some of them? i' m asking because nothing of yours have the same name....
if it helps tell me to wtite and the others that are off
thanks again!!!!
  Reply With Quote
Old 03-18-2009   #9 (permalink)
Co-Pilot & Owner
 
Andy's Avatar
[+] more user info
 
Andy is offline  
Join Date: Jan 2007
Location: Cape Town
Posts: 973
Thanks: 19
Thanked 497 Times in 379 Posts


Hi,

I am actually not sure, I dont use wamp so I would be guessing.

There is very little chance that these errors will show when you upload your Web site to your live server because error reporting is not likely to be set to high on a hosted server. What I am saying is dont worry about them... you seem bothered but I ensure you its no problem.

If it does show on your live server then its easy to fix by asking your host how to turn off notices or error reporting to low. what this means is it will only show critical errors not notices as they are not important.

I just dug up a bit of code that will actually fix this easily. Just add this in the index.php of the template

PHP Code:
error_reporting (E_ALL E_NOTICE); /* 1st line (recommended) */ 
Make sure you add this within the other php. I cant tell you exactly where because I dont know which template you are using.

Let me know how this works.

Cheers,

Andy
  Reply With Quote
Has your question been answered? Please mark the response as the best answer. This helps us give you faster support.

Are you happy with our support? Please make us smile by writing a short review on Best of Joomla

Do you also love Twitter? Follow us on prothemer | jMorph | joomlatips |andyjamesneale
Old 03-18-2009   #10 (permalink)
Ok, down to business
 
debonair_86's Avatar
[+] more user info
 
debonair_86 is offline  
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts


:mad: again nothing i put it in the first line of body and... nothing i put it in the last line of body again nothing, i'm using the template go_vista do you want to post the index.php?
i'm so sorry for all this questions but i can't find any help :(

(i post the index if it helps.... i did bold and underline the error reporting you send me to understand where i hane put it)

<?php


// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link href="<?php echo $this->baseurl ?>/templates/go_vista/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $this->baseurl ?>/images/favicon.ico" />
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/go_vista/js/swfobject.js"></script>
</head>

<body>
<table width="<?php echo $this->params->get('widthStyle'); ?>%" border="0" align="<?php echo $this->params->get('positionStyle'); ?>" cellpadding="0" cellspacing="0">
<tr class="noprint">
<td width="15">&nbsp;</td>
<td>
<?php if($this->countModules( 'user5' ) || $this->countModules( 'user6' )) { ?>
<table width="<?php if ( $this->countModules( 'user5' ) && $this->countModules( 'user6' ) ) { echo "100%"; } else { echo "50%"; } ?>" border="0" cellspacing="0" cellpadding="0" style="margin-top:10px;" class="vistauser1user1">
<tr>
<?php if($this->countModules('user5' ) ) { ?>
<td valign="top" class="vistauser1"><jdoc:include type="modules" name="user5" /></td>
<?php } ?>
<?php if($this->countModules( 'user6' ) ) { ?>
<td valign="top" class="vistauser2"><jdoc:include type="modules" name="user6" /></td>
<?php } ?>
</tr>
</table>
<?php } ?>
</td>
<td width="15">&nbsp;&nbsp;</td>
</tr>
<tr class="noprint">
<td width="15" class="topleftcorner">&nbsp;</td>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="15" class="topshadowleft">&nbsp;</td>
<td class="topshadow">&nbsp;</td>
<td width="15" class="topshadowright">&nbsp;</td>
</tr>
</table>
</td>
<td width="15" class="toprightcorner">&nbsp;</td>
</tr>
<tr class="noprint">
<td width="15" class="topleftdrop">&nbsp;</td>
<td class="topblackgardient">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td <?php if($this->countModules('banner' ) ) { echo 'width="380"'; } ?>>
<?php
if ( $this->countModules( 'header' ) ) { ?>
<jdoc:include type="modules" name="header" />
<?php } else { ?>
<div id="flashheader">
<?php
if(empty($this->baseurl)) $hplink = '/';
else $hplink = $this->baseurl;

if ($this->countModules('banner'))
{
$headerwidth= '380';
$headerswf = 'spiegelung.swf';
}
else
{
$headerwidth = '884';
$headerswf = 'spiegelunglarge.swf';
}

$vistaheadertext = $this->params->get('vistaheadertext');
if(!empty($vistaheadertext))
{
$vistaheadertext = $this->params->get('vistaheadertext');
}
else
{
$vistaheadertext = $mainframe->getCfg('sitename');
}
?>
</div>

<?php } ?>
</td>
<?php if ( $this->countModules( 'banner' ) ) { ?>
<td valign="middle" align="center"><jdoc:include type="modules" name="banner" />
</td>
<?php } ?>
</tr>
</table>
</td>
<td width="15" class="toprightdrop">&nbsp;</td>
</tr>
<tr class="vistauser3">
<td width="15" class="bluegardientleft">&nbsp;</td>
<td class="bluegardientbg"><jdoc:include type="modules" name="user3" /></td>
<td width="15" class="bluegardientright">&nbsp;</td>
</tr>
<tr class="noprint">
<td width="15" class="leftdropshadow20">&nbsp;</td>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="230" class="bluegardientlowerleft">&nbsp;</td>
<td class="bluegardientmiddl">&nbsp;</td>
<td width="230" class="bluegardientlower">&nbsp;</td>
</tr>
</table></td>
<td width="15" class="dropshadowright">&nbsp;</td>
</tr>
<tr>
<td width="15" class="leftdropshadow noprint">&nbsp;</td>
<td align="left" valign="top" class="mainbodybg print">
<jdoc:include type="message" />
<!--mainstart-->
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<?php if ( $this->countModules('left') && JRequest::getCmd('task') != 'edit' ) { ?>
<td valign="top" width="215" class="vistaleft"><jdoc:include type="modules" name="left" style="rounded" /></td>
<?php } ?>
<td valign="top" class="vistamain">
<?php if ( $this->countModules('top') ) { ?>
<div class="vistatop">
<jdoc:include type="modules" name="top" />
</div><!--sitetop-->
<?php } ?>
<jdoc:include type="component" />
<?php if ( $this->countModules('user1') || $this->countModules('user2') ) { ?>
<table width="<?php if ( $this->countModules( 'user1' ) && $this->countModules( 'user2' ) ) { echo "100%"; } else { echo "50%"; } ?>" border="0" cellspacing="0" cellpadding="0" style="margin-top:10px;" class="vistauser1user1">
<tr>
<?php if ( $this->countModules( 'user1' ) ) { ?>
<td valign="top" class="vistauser1"><jdoc:include type="modules" name="user1" /></td>
<?php } ?>
<?php if ( $this->countModules( 'user2' ) ) { ?>
<td valign="top" class="vistauser2"><jdoc:include type="modules" name="user2" /></td>
<?php } ?>
</tr>
</table>
<?php } ?>
</td>
<?php if ( $this->countModules('right') && JRequest::getCmd('task') != 'edit') { ?>
<td valign="top" width="215" class="vistaright"><jdoc:include type="modules" name="right" style="rounded" /></td>
<?php } ?>
</tr>
</table>
<!--mainend-->

</td>
<td width="15" class="dropshadowright20 noprint">&nbsp;</td>
</tr>
<tr>
<td class="footershadowleft noprint">&nbsp;</td>
<td align="center" valign="middle" class="vistafooter">
<jdoc:include type="modules" name="footer" />
<!-- Es ist Ihnen nicht gestattet, diese Zeilen zu loeschen, veraendern, oder an anderer Stelle anzubringen (siehe Lizenz - ab Zeile 2 in index.php des Templates). START -->
<!-- You're not allowed to delete, modify or replace these lines (see license - starting line 18 in index.php of the template). START -->
<?php if(empty($_SERVER['QUERY_STRING'])) { #copyrigth ?>Design by <a href="http://guenstige.shop-stadt.de/" target="_blank">guenstige.shop-stadt.de</a> &amp; <a href="http://www.go-windows.de/forum/" target="_blank">windows vista forum</a>
<?php }
#<!-- Es ist Ihnen nicht gestattet, diese Zeilen zu lφschen, verδndern, oder an anderer Stelle anzubringen (siehe Lizenz - ab Zeile 2). START -->
#<!-- You're not allowed to delete, modify or replace these lines (see license - starting line 18). START -->
?> </td>
<td class="footershadowright noprint">&nbsp;</td>
</tr>
<tr class="noprint">
<td class="footerleftlower">&nbsp;</td>
<td align="left" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="15" class="footerlowerleft">&nbsp;</td>
<td class="footerlower">&nbsp;</td>
<td width="15" class="footerlowerright">&nbsp;</td>
</tr>
</table>
</td>
<td class="footerrightlower">&nbsp;</td>
</tr>
<tr class="noprint">
<td>&nbsp;</td>
<td valign="top">&nbsp;<jdoc:include type="modules" name="debug" />
<?php if ( ($this->countModules('user7') || $this->countModules('user8')) && JRequest::getCmd('task') != 'edit') { ?>
<table width="<?php if ( $this->countModules( 'user7' ) && $this->countModules( 'user8' ) ) { echo "100%"; } else { echo "50%"; } ?>" border="0" cellspacing="0" cellpadding="0" style="margin-top:10px;" class="vistauser1user1">
<tr>
<?php if ( $this->countModules( 'user7' ) ) { ?>
<td valign="top" class="vistauser1"><jdoc:include type="modules" name="user7" /></td>
<?php } ?>
<?php if ( $this->countModules( 'user8' ) ) { ?>
<td valign="top" class="vistauser2"><jdoc:include type="modules" name="user8" /></td>
<?php } ?>
</tr>
</table>
<?php } ?>
</td>
<td>&nbsp;</td>
</tr>
</table>
<?php if ( !$this->countModules( 'header' ) ) { ?>
<script type="text/javascript">
var so = new SWFObject("<?php echo $this->baseurl ?>/templates/go_vista/images/<?php echo $headerswf; ?>?pagename=<?php echo urlencode($vistaheadertext);?>&amp;mainsite=<?php echo $hplink; ?>&amp;blur=<?php echo $this->params->get('blureffect'); ?>", "govistasimple", "<?php echo $headerwidth; ?>", "87", "8", "#000000");
so.addParam("wmode", "transparent");
so.addParam("mainsite", "<?php echo $this->baseurl ?>");
so.addParam("pagename", "<?php echo $vistaheadertext;?>");
so.write("flashheader");
</script>
error_reporting (E_ALL ^ E_NOTICE); /* 1st line (recommended) */
<?php } ?>
</body>
</html>
  Reply With Quote
This is a Advertisement. Sign up to have these ads removed.
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1 Downloads powered by vBadvanced Dynamics v1.1.0.