<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DAP Documentation &#187; Errors</title>
	<atom:link href="http://www.digitalaccesspass.com/doc/category/errors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digitalaccesspass.com/doc</link>
	<description>Documentation for DigitalAccessPass.com</description>
	<lastBuildDate>Mon, 26 Jul 2010 23:59:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Troubleshooting 1ShoppingCart &amp; ClickBank Integration</title>
		<link>http://www.digitalaccesspass.com/doc/troubleshooting-1shoppingcart-clickbank-integration/</link>
		<comments>http://www.digitalaccesspass.com/doc/troubleshooting-1shoppingcart-clickbank-integration/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 17:23:35 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[1ShoppingCart]]></category>
		<category><![CDATA[3rd Party Integration]]></category>
		<category><![CDATA[ClickBank]]></category>
		<category><![CDATA[Config]]></category>
		<category><![CDATA[Cron]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Integration with Shopping Carts]]></category>
		<category><![CDATA[Payment Integration]]></category>
		<category><![CDATA[Payment Setup and Integration FAQ]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Transactions]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Users]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=445</guid>
		<description><![CDATA[The same troubleshooting steps apply for both 1ShoppingCart &#38; ClickBank integration.
There are a few different reasons why this may not be working.
1. Cron Not Running
The DAP email-processing cron that processes the 1SC emails is not  running. Check your webhost control panel -&#62; Cron job settings. Make  sure dap-emailorder.php is setup to run once [...]]]></description>
			<content:encoded><![CDATA[<p><em>The same troubleshooting steps apply for both 1ShoppingCart &amp; ClickBank integration.</em></p>
<p>There are a few different reasons why this may not be working.</p>
<h3>1. Cron Not Running</h3>
<p>The DAP email-processing cron that processes the 1SC emails is not  running. Check your webhost control panel -&gt; Cron job settings. Make  sure <strong>dap-emailorder.php</strong> is setup to run once every 10 minutes.</p>
<h3>2. No Notification Emails from 1SC</h3>
<p>The DAP cron is running but 1SC payment notification emails are not  reaching your mail server. Check the email account where you expect to  receive your 1SC payment notification emails and see if the order  notification email from 1SC is in that mail box.</p>
<h3>3. Incorrect Mail Server Settings</h3>
<p>The cron is running and the 1SC order notification email is reaching your  mail server &#8211; but you did not configure the mail server settings correctly in  DAP Dashboard -&gt; Setup -&gt; Config -&gt; Payment Processing.</p>
<p><strong>Email Server Where Order Emails Come In</strong><br />
<strong>Email Server  User Name</strong><br />
<strong>Email Server Password</strong></p>
<h3>4.&#8221;Read&#8221; Or Deleted Emails</h3>
<p>DAP only processes order notification emails that are in the &#8220;Unread&#8221; status, to prevent previously processed emails and other non-DAP emails from being repeatedly processed.</p>
<p>Also, if you &#8220;pop&#8221; off the emails from that mail box (means, your email client like Outlook or Thunderbird or Gmail is &#8220;removing&#8221; your emails from the server when it retrieves them), it means that when DAP logs in to that billing email address, there are no emails there to be processed &#8211; the mailbox is empty, or the 1SC payment notification emails have somehow gotten deleted from that mailbox.</p>
<p>So it is possible that DAP is able to  connect to your email server, but DAP is not finding any &#8220;unread&#8221; emails.  Please login to your email server and mark all the payment emails that  you want DAP to process&#8230; as &#8220;unread&#8221;. And also make sure that your email client does not remove the emails from that mail box.</p>
<h3>5.Product Name Mismatch</h3>
<p>There might be a &#8220;Product Name&#8221; mismatch. The product name has to  be EXACTLY the same (including case, spaces, etc) in both DAP as well as  in 1ShoppingCart. So if you have created a product by name &#8220;Widget A&#8221;,  make sure your 1shoppingcart product also has the exact same name  &#8220;Widget A&#8221;.</p>
<p>If everything is setup correctly, DAP cron will run every 10 minutes  and try to process all 1SC emails.</p>
<p>The next time the DAP cron  will run (every 10 minutes), it will pick up all the unread payment  emails from 1SC.</p>
<h3>6. Empty &#8220;Thankyou-Email Body/Subject&#8221;</h3>
<p>Welcome email is not getting sent.</p>
<p>Select  the product, and make sure there is some text in the &#8220;Thankyou-Email  Subject&#8221; and &#8220;Thankyou-Email Body&#8221;. Whatever is in these fields is what  gets sent immediately after someone purchases that product (or right  after you give them access from the backend).</p>
<p>Now go to DAP Dashboard -&gt; Users -&gt; Add .</p>
<p>Select the  product and manually add user. Now see if the thankyou email gets sent to that email id. If it got sent, then your product setup is correct.</p>
<p>Also  check the DAP Dashboard -&gt; Orders . Search for all orders, look up the order for the particular user in question by email.</p>
<p>Check the payment status and make sure there is no error there.</p>
<p>If you did all this and things are still not working,  please do  this:</p>
<p>1. Set DAP Dashboard &gt; Setup Config -&gt; Basic &gt; Log Level = 5<br />
2. Re-run  the 1SC test purchase<br />
3. Check the DAP Logs (DAP Dashboard &gt; System &gt; Logs) and send us the log text in there for troubleshooting by pasting it into a new support ticket.</p>
<h3>7. Sending Email &amp; Password To Buyer</h3>
<p>Make sure you have set the thank-you message with the right merge tags for Email and Password.</p>
<h3>8. Manually Running Cron</h3>
<p>First set DAP Dashboard &gt; Settings &gt; Config &gt; Log Level = 5</p>
<p>If  you feel that the orders were not processed in dap, then just login to  the 1SC email account where the sales/payment notification emails are  sitting, and mark those orders/emails as UNREAD that you want dap to  process.</p>
<p>Then manually run the cron script dap-emailorder.php cron by visiting the following link in the browser.</p>
<p><strong>http://www.yoursite.com/dap/dap-emailorder.php</strong></p>
<p>Replace  yoursite.com with the name of your site.</p>
<p>It will just display an  empty screen when complete.</p>
<p>Then check &#8220;Users &gt; Manage&#8221; to see if user has been created.</p>
<p>- <strong>Veena Prashanth</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/troubleshooting-1shoppingcart-clickbank-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customizing Error Messages On Protected Pages</title>
		<link>http://www.digitalaccesspass.com/doc/customizing-error-messages-on-protected-pages/</link>
		<comments>http://www.digitalaccesspass.com/doc/customizing-error-messages-on-protected-pages/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 04:44:38 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[Access Control]]></category>
		<category><![CDATA[Customization]]></category>
		<category><![CDATA[Errors]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=325</guid>
		<description><![CDATA[When an unauthorized visitor tries to access a protected page or post, you can choose from among two things that can happen:
1) Display Error Message: They can be presented with an error message that shows a &#8220;lock&#8221; image. You can show the standard DAP version, or you can customize this message and add your own [...]]]></description>
			<content:encoded><![CDATA[<p>When an unauthorized visitor tries to access a protected page or post, you can choose from among two things that can happen:</p>
<p><strong>1) Display Error Message</strong>: They can be presented with an error message that shows a &#8220;lock&#8221; image. You can show the standard DAP version, or you can customize this message and add your own text.</p>
<p>-OR-</p>
<p><strong>2) Redirect to Error Page</strong>: They can be redirected to any other page of your choice (WordPress page or post, or a completely non-WP page)</p>
<h2><strong>1. Display Error Message</strong></h2>
<h3><strong>Displaying Default Error Message<br />
</strong></h3>
<p>The default error messages shown by DAP are as follows.</p>
<p><strong>A) If a visitor is NOT logged in, then they will see&#8230;</strong></p>
<p><strong>(Image A)<br />
</strong></p>
<p><a href="http://www.digitalaccesspass.com/doc/wp-content/uploads/2010/03/dap-error-notloggedin.png"><img class="alignnone size-full wp-image-345" style="border: 1px solid black;" title="dap-error-notloggedin" src="http://www.digitalaccesspass.com/doc/wp-content/uploads/2010/03/dap-error-notloggedin.png" alt="" width="460" height="354" /></a></p>
<p><strong>B) If a visitor IS logged in, then they will see&#8230; </strong></p>
<p><strong>(Image B)<br />
</strong></p>
<p><strong><a href="http://www.digitalaccesspass.com/doc/wp-content/uploads/2010/03/dap-error-loggedin.png"><img class="alignnone size-full wp-image-327" style="border: 1px solid black;" title="dap-error-loggedin" src="http://www.digitalaccesspass.com/doc/wp-content/uploads/2010/03/dap-error-loggedin.png" alt="" width="450" height="248" /></a></strong></p>
<p>If you see <strong>Image A</strong> above, there is a line of text that  says: &#8220;<strong>Click here</strong> to get access&#8221;.</p>
<p>And in <strong>Image B</strong> above, there is a line of text that says: &#8220;If you are a free member, then <strong>click here</strong> to purchase access&#8221;.</p>
<p>In both cases, the text &#8220;click here&#8221; is actually a link. And by default, that link will point to whatever you put in the &#8220;<strong>Sales Page URL</strong>&#8221; in your DAP Product (to which the above post/page is part of). See <strong>Image C</strong> below.</p>
<p><strong>(Image C</strong>)</p>
<p><a href="http://www.digitalaccesspass.com/doc/wp-content/uploads/2010/03/dap-error-salespageurl.png"><img class="alignnone size-full wp-image-341" style="border: 1px solid black;" title="dap-error-salespageurl" src="http://www.digitalaccesspass.com/doc/wp-content/uploads/2010/03/dap-error-salespageurl.png" alt="" width="528" height="302" /></a></p>
<h3><strong><strong>Displaying Custom Error Message</strong></strong></h3>
<p>If you wish to customize the above standard error messages, then here&#8217;s what you need to do:</p>
<ol>
<li>Go to <strong>/dap/inc/</strong> folder. There are two files there:<strong>error-loggedin.php</strong> , and<br />
<strong>error-notloggedin.php</strong><strong> </strong></li>
<li>Make a copy of both files on your computer, and add the text &#8216;<span style="color: #ff0000;"><strong>custom</strong></span>&#8216; to the front of each of the file names of the newly copied files. So the new files are now called:<strong><span style="color: #ff0000;"> </span></strong><strong><span style="color: #ff0000;"> </span></strong><strong><span style="color: #ff0000;"> custom</span>error-loggedin.php</strong> , and<span style="color: #ff0000;"><strong><br />
custom</strong></span><strong>error-notloggedin.php<br />
</strong></li>
<li>Open <strong>customerror-loggedin.php</strong> and <strong>custom</strong><strong>error-notloggedin.php </strong>and modify them as you please, change the text, formatting, font size, color, etc.</li>
<li>Upload the new files to the same folder &#8211; <strong>/dap/inc/</strong> &#8211; as the original error files.That&#8217;s it. DAP will then ignore the old error files, and start displaying your new &#8220;custom&#8221; error messages.</li>
</ol>
<h2><strong><strong>2. Redirect to Error Page</strong></strong></h2>
<p>Instead of showing an error page (default or custom, from (1) above) you can also redirect the un-authorized user to a completely new page/post of your choice.</p>
<p>If you see <strong>Image D</strong> below, you will see that on the DAP Products page, there is a field called &#8220;<strong>Error Page URL</strong>&#8220;.</p>
<p>By default, this is pointing to <strong>/dap/product-error.php</strong></p>
<p><strong>(Image D)<br />
</strong></p>
<p><strong><a href="http://www.digitalaccesspass.com/doc/wp-content/uploads/2010/03/dap-error-errorpageurl.png"><img class="alignnone size-full wp-image-342" style="border: 1px solid black;" title="dap-error-errorpageurl" src="http://www.digitalaccesspass.com/doc/wp-content/uploads/2010/03/dap-error-errorpageurl.png" alt="" width="529" height="303" /></a><br />
</strong></p>
<p>Change this to any link you want. Examples&#8230;</p>
<blockquote><p><strong>http://YourSite.com/myerrorpage.html</strong> , or</p>
<p><strong>http://YourSite.com/myerrorpage/</strong></p></blockquote>
<p>Whatever you put in the above field (<strong>Error Page URL</strong>) is what page the user will be redirected to, when they access a page that they don&#8217;t have access to (either because they have not logged in, or because they are logged in, but don&#8217;t have access to it <em>yet</em>).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/customizing-error-messages-on-protected-pages/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Plugin Errors</title>
		<link>http://www.digitalaccesspass.com/doc/plugin-errors/</link>
		<comments>http://www.digitalaccesspass.com/doc/plugin-errors/#comments</comments>
		<pubDate>Thu, 28 May 2009 20:55:48 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=47</guid>
		<description><![CDATA[(1) When Activating LiveLinks
If you are seeing an error that looks like this when you try to activate LiveLinks&#8230;
Fatal error: Cannot redeclare dap_filter_posts() (previously declared in /home/birdtric/public_html/wp-content/plugins/DAP-WP-LiveLinks/DAP-WP-LiveLinks.php:11) in /home/birdtric/public_html/wp-content/plugins/DAP-WP-LiveLinks/DAP-WP-LiveLinks.php on line 11
Solution A) This could be because you have incorrectly named the DAP or Livelinks folders.
Remember, the dap folder must always be named dap (all [...]]]></description>
			<content:encoded><![CDATA[<h2>(1) <strong>When Activating LiveLinks</strong></h2>
<p><strong>If you are seeing an error that looks like this when you try to activate LiveLinks&#8230;</strong></p>
<blockquote><p><strong>Fatal error: Cannot redeclare dap_filter_posts() (previously declared in /home/birdtric/public_html/wp-content/plugins/DAP-WP-LiveLinks/DAP-WP-LiveLinks.php:11) in /home/birdtric/public_html/wp-content/plugins/DAP-WP-LiveLinks/DAP-WP-LiveLinks.php on line 11</strong></p></blockquote>
<p><strong>Solution A)</strong> This could be because you have incorrectly named the DAP or Livelinks folders.</p>
<p>Remember, the <strong>dap</strong> folder must always be named <strong>dap</strong> (all lower case &#8211; and not, say, <em>dap_v3.0</em>). And the livelinks folder must be named <strong>DAP-WP-LiveLinks</strong> .</p>
<p><strong>Solution B)</strong> It is possible that your web site does not meet the <a href="http://www.digitalaccesspass.com/doc/installation-pre-installation-faqs/" target="_self">minimum requirements to run DAP</a> .</p>
<p>If you <a href="http://www.DigitalAccessPass.com/support/" target="_blank">open a ticket</a> and give us your FTP info and your WordPress Admin login info, we can confirm this to you right away.</p>
<p>&#8212; *** &#8212;</p>
<p><strong>If you are seeing an error that looks like this when you try to activate LiveLinks&#8230;</strong></p>
<blockquote><p>Oops! Could not create the config file (dap-config.php). Please make the &#8216;dap&#8217; folder writable by doing CHMOD 755 (and if that doesn&#8217;t work, then try CHMOD 777.)<br />
Installation failed. Please de-activate LiveLinks and re-activate it when you&#8217;ve fixed the issue. (106)</p></blockquote>
<p>* CHMOD just the <strong>dap</strong> directory to 777.<br />
* Then de-activate and activate the LiveLinks plugin.<br />
* This time around, it should be able create the <strong>dap-config.php</strong> file within the <strong>dap</strong> directory. You should see the successful installation message.<br />
* CHMOD just the <strong>dap</strong> directory back to 755.</p>
<p>If that doesn&#8217;t work, then <a href="http://www.DigitalAccessPass.com/support/" target="_blank">open a ticket</a> with the FTP info and WP admin info.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<h2>(2) Session Error</h2>
<p>If you see an error that looks like this&#8230;</p>
<blockquote><p><strong>Fatal error: Dap_Session::isLoggedIn() [dap-session.isloggedin]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition &#8220;Dap_Session&#8221; of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home/site/public_html/dap/inc/classes/Dap_Session.class.php on line 41</strong></p></blockquote>
<p>This is basically caused by someone else&#8217;s 3rd-party WordPress plugin that is wiping out the &#8220;session&#8221; data (or user data stored in memory) which DAP relies on to store the user information. So there are two things you can try&#8230;</p>
<ol>
<li>See if you have a plugin by name &#8220;WordPress Automattic Upgrade&#8221; in your wordpress plugins page.This has created many issues for so many other plugins too, including LiveLinks. Just de-activate this plugin, and your error should go away. Also, if you are using WordPress version 2.7.1, you don&#8217;t really need this plugin any more &#8211; the automatic upgrade feature has been built right into this version.</li>
<li>See if you have a plugin for doing &#8220;Captcha&#8221; &#8211; this is where to prevent bots from spamming your comments, your visitor is presented with some kind of an image to verify that they are human. Try with that de-activated.</li>
<li>If none of the above worked, or if you don&#8217;t have any of the above plugins active and you&#8217;re still seeing the error, then just try de-activating all other plugins temporarily (except LiveLinks, of course), and turn them back on one-by-one.</li>
</ol>
<p>Refresh your blog page every time you activate a plugin. That way, you will know which is the plugin that is causing the error.</p>
<p>If that still doesn&#8217;t help, just <a href="http://www.DigitalAccessPass.com/support/" target="_blank">open a support ticket</a> and we&#8217;ll take care of it.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<h2>(3) PDO Error</h2>
<p>You see an error like this:</p>
<blockquote><p><strong>Fatal error: Class &#8216;PDO&#8217; not found in /home1/knowlee3/public_html/buildamagneticnetwork/dap/inc/classes/Dap_Connection.class.php on line 19</strong></p></blockquote>
<p>If DAP had been working fine on your web site, and you all of a sudden see this error, then your host quietly pulled the rug from under your feet <img src='http://www.digitalaccesspass.com/doc/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . This appears because they either deliberately or mistakenly disabled the &#8220;PDO&#8221; library, which is a <strong>must-have requirement for DAP to run</strong>.</p>
<p>So check with your host and ask them &#8220;if they disabled PHP/PDO for MySQL on your server recently&#8221;.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<h2>(4) Memory Allocation</h2>
<p>You see an error like this:</p>
<blockquote><p><strong>Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16 bytes) in /home/yoursite.com/public_html/dap/inc/classes/Dap_Connection.class.php on line 19</strong></p></blockquote>
<p>If this happens just once, then just ignore it.</p>
<p>But if it occurs more than once, then it could be because:</p>
<p>a) You recently made some changes to your DAP files or web site files, and overwrote/updated your dap-config.php file with the wrong database information. Even though it shows up like a memory issue, in reality it could be because DAP is unable to connect to the database because of incorrect information in the dap config file.</p>
<p>b) Your server legitimately has a low memory limit set by your host, and your host needs to increase the memory allocated to PHP/PDO. Open a ticket with your web host to do this.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<h2>(5) Simple-Pie &amp; Memory Allocation</h2>
<p>You see an error like this:</p>
<blockquote><p><strong>Fatal error: Allowed memory size of 37423432 bytes exhausted (tried to allocate 371520 bytes) in /&#8230;/public_html/~username/wp-includes/class-simplepie.php</strong></p></blockquote>
<p>Open the file <strong>wp-config.php</strong> (which is in your blog&#8217;s main folder)</p>
<p>Add this line at the top&#8230;</p>
<blockquote><p><code>define('WP_MEMORY_LIMIT', '64M');</code></p></blockquote>
<p>That should take care of the error.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1113px; width: 1px; height: 1px;"><strong><span style="font-size: 10pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;; color: #333333;">Fatal error</span></strong><span style="font-size: 10pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;; color: #333333;">: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in <strong>/home8/paladinc/public_html/equityarb/wp-includes/class-simplepie.php</strong></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/plugin-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
