close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Log in page error- again

Thread began 2/06/2011 6:22 pm by kimsmith01419714 | Last modified 2/08/2011 9:41 am by Jason Byrnes | 1052 views | 3 replies |

kimsmith01419714

Hi,

Our admin page index.php
comes up with the following errors:

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /nfs/c04/h04/mnt/83633/domains/www.rockysk9rescue.org.au/html/Available/admin_gallery/global.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /nfs/c04/h04/mnt/83633/domains/www.rockysk9rescue.org.au/html/Available/admin_gallery/global.php:37) in /nfs/c04/h04/mnt/83633/domains/www.rockysk9rescue.org.au/html/Available/admin_gallery/index.php on line 6

We have not made any changes to anything. Can someone please advise what is wrong and how to fix it as soon as possible.We need to update it urgently. Thank you, Kim

Correction to last post
The admin error that we get is


Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /nfs/c04/h04/mnt/83633/domains/www.rockysk9rescue.org.au/html/Available/admin_gallery/global.php on line 37


The admin log in is index.php

Could someone please help asap. We use this gallery all day and need to update it as soon as we can. Thanks, Kim

Sign in to reply to this post

Jason ByrnesWebAssist

in the admin_gallery/global.php file, edit line 34 - 37:

php:
require_once("images/installed.png");

//PowerGallery version
$wa_settings['pg_version'] = '1.2.0';
mysql_free_result($result);



to:

php:
//PowerGallery version

$wa_settings['pg_version'] = '1.2.0';
mysql_free_result($result);
require_once("images/installed.png");
Sign in to reply to this post

kimsmith01419714

That worked, thank you!

Such a relief! Many thanks, Km

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