close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

queryobj issue with new version 2.22

Thread began 8/12/2019 1:56 pm by Jose | Last modified 8/14/2019 12:54 pm by Ray Borduin | 24 views | 5 replies |

Jose

queryobj issue with new version 2.22

Hi Ray, I am having difficulty inserting and updating a multi-language form that you did some time ago. everything was fine until version 2.18 but I realized that in version 2.22 it doesn't work anymore. I would like some idea to update so that it can continue to work with the latest version. That worries me because I am constantly updating my website and while I work with WebAssist when creating a query, that gives me the latest version of queryobj and that stops the operation of the files that use the technique you did to implement the multi language. I am currently using php 7.3.1 and MSQL 5.7.24 Apache 2.4.37 So what can I do to keep it up-to update without losing the job you did ?

Attached Files
addcategory.php
updatecategory.php
Sign in to reply to this post

Ray BorduinWebAssist

What exactly happens that doesn't work?

I order to debug and fix this efficiently I would probably need:

1) a URL and steps to reproduce the problem.
2) a description of the problem (any errors or what happens that shouldn't or what doesn't happen that should)
3) FTP access so that once I reproduce the problem I can debug and fix any issues I find

Sign in to reply to this post

Jose

I'm going to give you access to my website and FTP. All my file that have multi-languege are working as they are with V 2.18 so you can do an example with categories if you want . I'll let you the info below. I will attach queryojb 2.22 so you can test it . I have 2.18 in my live site because with 2.22 nothing happen. One thing I did was to rename one of the categories to name 2 for update and insert one for test and it work then I upload V2.22 and I did again but this time it doesn't work.

Attached Files
queryobj.php
Sign in to reply to this post

Ray BorduinWebAssist

We had a redirect inside of the loop, so it wouldn't finish the updates before going to the next page. This was more of an issue with the code on the page than the include. The include was actually fixed in v2.22 because it shouldn't allow further updates after the page redirect.

I fixed the page by updating the loop on updatecategory.php. You will see that I moved these lines:
$UpdateGoTo = "dashboard?view=categories";
if (function_exists("rel2abs")) $UpdateGoTo = $UpdateGoTo?rel2abs($UpdateGoTo,dirname(__FILE__)):"";
$UpdateQuery->redirect($UpdateGoTo);

down below the close of the while loop.

Sign in to reply to this post

Jose

Thank you very much for your help Ray, so one more question; do I have to do the same for inserting too ?

Sign in to reply to this post

Jose

Yes, that work for insert too. Thanks again

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