close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Results Page 'Hangs'

Thread began 8/05/2010 6:42 am by bbifl346249 | Last modified 8/05/2010 12:57 pm by Jason Byrnes | 1350 views | 5 replies |

bbifl346249

Results Page 'Hangs'

I've just used DataAssist to create my admin pages. I have 3 records in MySQL database, which I can connect to successfully. When the search page loads the results page, it hangs at "setQueryBuilderSource($query_WADAusers,$WADbSearch1,false);"

Search & Results page, as well as MySQL construct string is attached in zip file.

dpinnovations.com/users_Search.php
dpinnovations.com/users_Results.php

Any ideas why ?

Attached Files
users_Results.zip
Sign in to reply to this post

Jason ByrnesWebAssist

using your pages on my computer, i cannot recreate the problem, try adding the following code at line 1 of the results page to turn error reporting on:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

bbifl346249

Local OK, Uploaded NOT working !

Thanks Jason,

Locally using my XAMPP testing server, everything seems to work OK.

However, when I go live, with the error reporting on I get the following;

Notice: Undefined variable: database_DW_TDSDBase in /netapp/whnas-silo1-node1/s6/s6/01000/www.dpinnovations.com/webdocs/uR.php on line 101

Notice: Undefined variable: DW_TDSDBase in /netapp/whnas-silo1-node1/s6/s6/01000/www.dpinnovations.com/webdocs/uR.php on line 101

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /netapp/whnas-silo1-node1/s6/s6/01000/www.dpinnovations.com/webdocs/uR.php on line 101

Notice: Undefined variable: DW_TDSDBase in /netapp/whnas-silo1-node1/s6/s6/01000/www.dpinnovations.com/webdocs/uR.php on line 105

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /netapp/whnas-silo1-node1/s6/s6/01000/www.dpinnovations.com/webdocs/uR.php on line 105


Here's the text relevant to the first error message;
mysql_select_db($database_DW_TDSDBase, $DW_TDSDBase); < Line 101
$query_WADAusers = "SELECT UserID, UserEmail, UserFirstName, UserLastName, UserIP, UserCountry, UserType, UserLoginName, UserCompany, UserReseller FROM users ORDER BY UserLoginName ASC";
setQueryBuilderSource($query_WADAusers,$WADbSearch1,false);
$query_limit_WADAusers = sprintf("%s LIMIT %d, %d", $query_WADAusers, $startRow_WADAusers, $maxRows_WADAusers);
$WADAusers = mysql_query($query_limit_WADAusers, $DW_TDSDBase) or die(mysql_error());
$row_WADAusers = mysql_fetch_assoc($WADAusers);

Thanks for your help (Is this anything to do with my connection having an '_' in it ?)

Sign in to reply to this post

Jason ByrnesWebAssist

the underscore should not be an issue, have you updated the connection file details for the live server? you will need to change the server, username password and database with the correct details for the remote host.

Sign in to reply to this post

bbifl346249

I really don't understand this !

I could have sworn that I had, but after checking I had not ! Sorry .....

I have now changed the connection information and the Results page loads.

Sorry for being such a Dumb @#$%^&&^. Good job I wasn't paying $49 for a support call :)

Sign in to reply to this post

Jason ByrnesWebAssist

No worries, glad to hear it is working now

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...