Welcome, Guest

Whitescreen on submit - please analyze my code.
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Whitescreen on submit - please analyze my code.

Whitescreen on submit - please analyze my code. 2 years ago #11099

Could anybody analyze my code and direct me to the issue?
I know white sceen means that i have something wrong in my php code but cannot really figure it out.

Code :

$points = JRequest::getVar('ff_nm_points',array(''));
$i = JRequest::getVar('ff_nm_category',array(''));
switch ($i[0]) {
case 1: //Tradedoubler
$adid = JRequest::getVar('ff_nm_adid',array(''));
$ginteger = JRequest::getVar('ff_nm_ginteger',array(''));
$urllink = "clk.tradedoubler.com/click?p=". $adid[0] ."&a=1111111&g=". $ginteger[0];
break;
case 2: //EuroAds
$cpid = JRequest::getVar('ff_nm_CPID',array(''));
$adid = JRequest::getVar('ff_nm_adid',array(''));
$submedia = JRequest::getVar('ff_nm_submedia',array(''));
$urllink = "tracking.euroads.se/system/tracking.php?sid=2&cpid=". $cpid[0] ."&adid=". $adid[0] ."&acid=1550&eatrackid=". $submedia[0];
break;
case 3: //Double.net
echo "i equals 2";
break;
case 4: //Affiliator
echo "i equals 2";
break;
case 5: //Agentinteractive
echo "i equals 2";
break;
case 6: //Zanox
echo "i equals 2";
break;
case 7: //Guavamedia
echo "i equals 2";
break;
case 8: //Webgains
echo "i equals 2";
break;
case 9: //Commission Junction
echo "i equals 2";
break;
}
$value = $value. "{source} $user =& JFactory::getUser();
echo \"<p><B>make " . $points[0] . " points </BR><BR><A HREF=\"". $urllink ."&pni=".$user->get( 'id' )."\">
<img src=\"images/stories/submit.png\" border=\"0\" /></p><BR>
</A> \" {/source}";


Kind regards and a massive thanks to all that reads and analyzes,
Joel
  • johaswe
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0

Re: Whitescreen on submit - please analyze my code. 1 year, 10 months ago #12863

Hi all,

One of our users just found a potential solution to this issue:

"The RokCandy macro component messes up other components unless you go into the Component>RokCandy settings and turn off all of the "Basic" macros (there are about 6 of them). You can leave all the special template overrides active as they only apply to the RT templates and don't muck with anything else. Once I did this, I was able to see my forms without any problem."

Thanks, Kelly, for sharing your solution! Hope this helps some of the rest of you!

Terry
BreezingForms Customer Care
  • terrywmu
  • OFFLINE
  • Administrator
  • Posts: 527
  • Karma: 8
  • Page:
  • 1
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.66 seconds

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany