close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Notice: Undefined offset: 6 in E:\domains\b\boardingkennels.org\user\htdocs\webassist\database_management\wa_appbuilder_php.php on line 133

Thread began 4/16/2014 6:57 am by kaykent | Last modified 4/22/2014 8:38 am by Jason Byrnes | 2717 views | 5 replies |

kaykent

Notice: Undefined offset: 6 in E:\domains\b\boardingkennels.org\user\htdocs\webassist\database_management\wa_appbuilder_php.php on line 133

Hello!

This used to work before I upgraded DataAssist!

I use DataAssist to work out the number of unique visitors and page hits for my clients.

The page hits count is working well still. However the unique visitors is no longer working correctly and produces an error at the top of the page:
http://www.boardingkennels.org/details/kennels-DA-error.php?recordID=7000

ERROR:
"Notice: Undefined offset: 6 in E:\domains\b\boardingkennels.org\user\htdocs\webassist\database_management\wa_appbuilder_php.php on line 133"

There are 2 problems:
1. The above error
2. The 'Group By' function does not seem to be working correctly any more.

GROUP BY:
I have a visitors table with 7 records in it, all visited by the same IPaddress. This should give me 1 unique visitor, with 7 visits (page hits). I am getting results of 7 unique visitors with 7 page hits.

Please see attached for the DataAssist information and the html.

Please help, thank you so much!
kindest regards
Kay :-)

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

kaykent

Thank you Jason, I have sent you the information.

Sign in to reply to this post

Jason ByrnesWebAssist

at line 379:

$WA_fieldValuesStr = "".$row_UniqueVisitors['COUNT(IPaddress)']  ."" . $WA_AB_Split . "".$row_Kennels['Pagehits2014']+1  ."" . $WA_AB_Split . "".$totalRows_Reviews  ."" . $WA_AB_Split . "".$totalRows_NewsItems  ."" . $WA_AB_Split . "".$totalRows_LatestGuests  ."" . $WA_AB_Split . "".$totalRows_Videos  ."" . $WA_AB_Split . "".round($row_StaffRatio['SUM(NumberKennels/Staff)'])  ."";



$row_Kennels['Pagehits2014']+1



needed to be changed to:

($row_Kennels['Pagehits2014']+1)




$WA_fieldValuesStr = "".$row_UniqueVisitors['COUNT(IPaddress)']  ."" . $WA_AB_Split . "".($row_Kennels['Pagehits2014']+1)  ."" . $WA_AB_Split . "".$totalRows_Reviews  ."" . $WA_AB_Split . "".$totalRows_NewsItems  ."" . $WA_AB_Split . "".$totalRows_LatestGuests  ."" . $WA_AB_Split . "".$totalRows_Videos  ."" . $WA_AB_Split . "".round($row_StaffRatio['SUM(NumberKennels/Staff)'])  ."";
Sign in to reply to this post

kaykent

Thank you Jason!
That stopped the error.
I've also sorted out the problem with the unique visitors (use the Dreamweaver Total Records count on the Data Toolbar, instead of using count in the recordset).

THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...