1. rgjoyce
  2. LPS Simple Landing Pages
  3. Tuesday, July 01 2014, 09:46 AM
  4.  Subscribe via email
Warning: Invalid argument supplied for foreach() in /home/...../libraries/joomla/database/database/mysql.php on line 383

Warning: Invalid argument supplied for foreach() in /home/...../libraries/joomla/database/database/mysql.php on line 383

Warning: mysqli_query() [function.mysqli-query]: Empty query in /home/...../libraries/joomla/database/database/mysqli.php on line 382


When trying to save a LP
Responses (3)
Neal Piersol Accepted Answer Pending Moderation
Deprecated: Function create_function() is deprecated in public_html/asdfsdfsf1/administrator/components/com_lps/helpers/htmLawed.php on line 647

htmLawed

function create_funtion() deprecated.

do we know a fix for this?

I changed hte htmLawed.php file to remove the issue and went as far as removing that file and the warning still still appears.

I flushed my cache and it still appears.

Im confused.
  1. more than a month ago
  2. LPS Simple Landing Pages
  3. # 1
rgjoyce Accepted Answer Pending Moderation
Fixed. I can now save. But it still doesn't work.
now in the front end when I try to create a simple Landing Page with one word on it. I get the message :
Unauthorized

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

And I've just figured out why.
Your component saves the temporary html file in the admin section of the joomla site.
It needs to save it in the front end.
Why? Because most sites have htacces protection or something similar to protect access to the admin login.
  1. more than a month ago
  2. LPS Simple Landing Pages
  3. # 2
Mike Accepted Answer Pending Moderation
Hello rgjoyce,

It seems there was a simple bug in the install part of the free lps component which was named the `#__lps_landing_pages` table incorrectly. Please rename this table in your database and replace the prefix that you see with the correct table name prefix that joomla generated when you installed your joomla. (This is the prefix on the front of each of your database table names i.e. fie8d_ or something.)

I also replaced the free lps zip file that is available to download when you are logged in and at your dashboard.

I'll email you about fixing this.
  1. more than a month ago
  2. LPS Simple Landing Pages
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

We also offer a wide array of Google Analytics related professional services

Here's some of the questions we can help answer about your site traffic

Where is the money coming from?

What path do your buyers take to purchase/convert?

Where are buyers getting stuck during the checkout process?

We can answer all of these and more

Learn More