Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 196
» Latest member: AlfredCania
» Forum threads: 29
» Forum posts: 47

Full Statistics

Online Users
There are currently 16 online users.
» 0 Member(s) | 16 Guest(s)

Latest Threads
Reply to Bill Hobbs re PH...
Forum: PHP/MySQLi General
Last Post: Mags
09-22-2025, 09:34 AM
» Replies: 0
» Views: 123
not seeing database error
Forum: PHP/MySQLi General
Last Post: bizpat (Patrice)
08-26-2025, 05:18 PM
» Replies: 0
» Views: 309
Availability
Forum: General coding information
Last Post: David Buchholz
04-16-2025, 03:09 PM
» Replies: 2
» Views: 784
Latest version of Chrome ...
Forum: Project Seven
Last Post: bizpat (Patrice)
02-09-2025, 07:43 PM
» Replies: 1
» Views: 540
A new server threat: AI b...
Forum: General coding information
Last Post: Mags
01-29-2025, 11:56 AM
» Replies: 1
» Views: 1,375
Extension Manager
Forum: Project Seven
Last Post: bizpat (Patrice)
01-21-2025, 11:38 PM
» Replies: 4
» Views: 1,169
P7 IGM Image Gallery Magi...
Forum: Project Seven
Last Post: bizpat (Patrice)
01-17-2025, 09:38 PM
» Replies: 3
» Views: 911
To link to Omni Panel and...
Forum: Project Seven
Last Post: bizpat (Patrice)
01-04-2025, 06:57 PM
» Replies: 0
» Views: 331
FX Zoom Fix
Forum: Project Seven
Last Post: bizpat (Patrice)
01-04-2025, 06:51 PM
» Replies: 0
» Views: 371
Close panels on OMNI
Forum: Project Seven
Last Post: bizpat (Patrice)
01-04-2025, 06:48 PM
» Replies: 0
» Views: 326

 
  Reply to Bill Hobbs re PHP 8.2 Upgrade
Posted by: Mags - 09-22-2025, 09:34 AM - Forum: PHP/MySQLi General - No Replies

Hi Bill, I was unable to post a reply on the WA Forum, so until that's fixed I hope you see this!

The error:

Fatal error: Uncaught Error: Call to undefined function mysqli_init()

means that PHP can't find the mysqli_init() function, which only exists if the MySQLi extension is installed and enabled in your PHP environment.

Check if the MySQLi extension is installed - download the attached phpinfo.php file and upload it to your server. Access the page in the browser, then search the page for "mysqli".

If you don’t see it, the extension is not installed or not enabled.

You may need to ask your server supplier to enable it, or let me know if you need help. Once activated, check the phpinfo page again.

You should remove the phpinfo.php file once you've finished with it for security purposes.


.php   phpinfo.php (Size: 22 bytes / Downloads: 0)

Print this item

  not seeing database error
Posted by: bizpat (Patrice) - 08-26-2025, 05:18 PM - Forum: PHP/MySQLi General - No Replies

I found a solution when setting up a site and WA can't see the tables; this was php chat engineer suggestion.

My server was set to 8.1. Chat says WA was written for 7.4. I reset this domain to 7.4, made the connection file, then changed domain back to 8.1

Print this item

  Latest version of Chrome throwing errors for PVii js files
Posted by: David Buchholz - 02-07-2025, 03:33 PM - Forum: Project Seven - Replies (1)

The latest version of Chrome has deprecated the unload event, see https://developer.chrome.com/docs/web-pl...ing-unload, this is causing issues with a lot of PVII's scripts. In my case on the site I am working on both AMM and MBX are affected.

The fix is to change the unload event to before unload like so:

Code:
function P7_MBXaddLoad(){
var ie = P7_MBXgetIEver();
if (!document.getElementById || (ie > 0 && ie < 6)) {
return;
}
if (window.addEventListener) {
document.addEventListener("DOMContentLoaded", P7_MBXinit, false);
window.addEventListener("load", P7_MBXinit, false);
//window.addEventListener("unload", P7_MBXbb, false);
window.addEventListener("beforeunload", P7_MBXbb, false); // Changed from unload to beforeunload
document.addEventListener("keydown", P7_MBXkey, false);
window.addEventListener("resize", P7_MBXrsz, false);
} else if (window.attachEvent) {
document.write("<script id=p7ie_mbx defer src=\"//:\"><\/script>");
document.getElementById("p7ie_mbx").onreadystatechange = function(){
if (this.readyState == "complete") {
if (p7MBX.ctl.length > 0) {
P7_MBXinit();
}
}
};
window.attachEvent("onload", P7_MBXinit);
window.attachEvent("onunload", P7_MBXbb);
document.attachEvent("onkeydown", P7_MBXkey);
window.attachEvent("onresize", P7_MBXrsz);
}
}


Hope that helps

Print this item

  A new server threat: AI bots
Posted by: bizpat (Patrice) - 01-22-2025, 09:38 PM - Forum: General coding information - Replies (1)

I have my clients on a dedicated server and it was brought to its knees by bots.  Amazon and AI bots.

Solution was to create a robots.txt file with this inside:

User-agent: GPTBot
Disallow: /

User-agent: Amazonbot
Disallow: / 


HTH someone else.

Print this item

  Extension Manager
Posted by: bizpat (Patrice) - 01-19-2025, 12:57 AM - Forum: Project Seven - Replies (4)

A missing post on WA forum:

I encountered this a few weeks ago with a non-WA extension (P7). I received this information.

Gerry wrote:

The latest Adobe Creative Cloud update has introduced a file corruption issue in the Dreamweaver menus.xml and insertbar.xml files. This will cause extensions to not show in the Dreamweaver Insert menu and the Insert Panel. Hopefully Adobe will fix this soon.

You have a corruption in the underlying Dreamweaver files that now needs to be fixed.

1. Do NOT use the Anastasiy’s Extension Manager!

2. ONLY use the DMXzone Extension Manager.

3. Follow the instructions on the page link I sent. The Dreamweaver configuration folder is corrupt and needs to be replaced with a default configuration. The instructions here are very important, follow each step:

https://www.projectseven.com/products/ex...m#cc-issue  (this is no longer an active link)


First, be sure that you have re-started Dreamweaver after you renamed the configuration folder. Then shut Dreamweaver down.

In the DMXzone Extension Manager, if your extensions are listed as installed then you must first un-install each. Just click the X to the right of each extension. This will clear the extension database. Now you can install each one, one at a time.

Be sure that Dreamweaver is shut down during this operation.

~~HTH~~~

more notes

The missing link says to first shut down DW. Rename the config folder. Restart DW. Shut down DW. UNINSTALL all ext., then reinstall all extensions. Then restart DW.

Print this item

  P7 IGM Image Gallery Magic
Posted by: LanaB - 01-10-2025, 05:54 PM - Forum: Project Seven - Replies (3)

I have a slideshow using P7 IGM Image Gallery Magic. My client wants to have audio added to it. How do I add audio to IGM or do I use an alternate procedure?
LINK: http://www.dreambuildersofthefloridakeys...dream.html
I appreciate direction!
Thanks,
Lana

Print this item

  To link to Omni Panel and open it
Posted by: bizpat (Patrice) - 01-04-2025, 06:57 PM - Forum: Project Seven - No Replies

Example: This will open this page with 3rd panel open and scrolled down to the OPM location:  
https://www.shorehavenbhi.com/mental-hea..._3#p7OPM_1

so, after the page name, add
?opm
the panel name (third panel)
1_3#
and the name of the OPM

another example:
https://www.shorehavenbhi.com/mental-hea..._5#p7OPM_1

opens the 5th panel  



(if there were 2 OPMs on the page the second one would be called 
OPM_2)

Print this item

  FX Zoom Fix
Posted by: bizpat (Patrice) - 01-04-2025, 06:51 PM - Forum: Project Seven - No Replies

to keep zoomed images on top of others use this


/*
****************************
PVII Image Effects Magic
by Project Seven Development
www.projectseven.com
CSS Styles
*****************************
*/

img.p7IFX {
position: relative;
}
img.ifx-on {
z-index: 999;
}

Print this item

  Close panels on OMNI
Posted by: bizpat (Patrice) - 01-04-2025, 06:48 PM - Forum: Project Seven - No Replies

Create a button called CLOSE

Add to core.css

<!--custom -->
.opm-panel {position:absolute;left:-9000px;top:-9000px;overflow:hidden;visibility:hidden;width:100%;}
.opm-panel-wrapper {position:relative;overflow:hidden;}
.opm-panel-layout {position: relative;width: 100%;height: auto;}


and then on the page, depending on which panel will be the close, this is inline
this must be specific to the panels

example (to have panel 7 closed)



<style type="text/css">
#p7OPMpn_1_7,
#p7OPMpn_1_7 *
{
padding: 0;
}
#p7OPMpn_1_7 .opm-panel-content {
height: 0px;
}
</style>

Print this item

  Centering P7 Menus
Posted by: bizpat (Patrice) - 01-04-2025, 06:46 PM - Forum: Project Seven - No Replies

change this:

p7 centermenu
.p7AMM.amm-responsive li {
text-align: left !important;
display: block;
max-height: 700777px;
}

to this:



.p7AMM.amm-responsive li {
text-align: center !important;
display: block;
max-height: 700777px;
}

Print this item