User Update missing link
When I look at the code in user_update.php on the first line, there is a link as follows
<?php require_once( "../WA_Globals/WA_Globals.php" ); ?>
There is no such directory, let alone a file.
What am I doing wrong?
When I look at the code in user_update.php on the first line, there is a link as follows
<?php require_once( "../WA_Globals/WA_Globals.php" ); ?>
There is no such directory, let alone a file.
What am I doing wrong?
Hi Ben,
There should be a folder WA_Globals in the Powerstore directory, - this folder contains the WA_Globals.php file.
Download a fresh copy from your download centre if you need to.
Hi Neilo,
Thank you very much for your prompt reply, very much appreciated.
I did as you suggested but same result. I have attached a file containing the directory as downloaded.
While I am at it, I have discovered another broken link in the same file, namely <?php require_once( "../WA_CMS/WA_CMS.php" ); ?>. No directory and thus no file.
Hi Ben,
Sorry about previous misinformation, I was lookng at PowerStore 3, not PowerStore4.
From what I can work out, user_update.php is an extraneous file (which would return an error in anybody's version of PowerStore 4) but is not actually used or referenced in this solution.
This should not affect the working of the Store (as far as I can work out) as the store refers to users_update.php.
I have visited various PowerStore4 sites and added 'admin/user_update.php' after each store address, and each one throws an error:
Maybe a WA tech will throw a little light on its inclusion on Monday.
That line will only be in the Power Store 3 users_Update page.
line 1 - 10 of Power Store 3 admin/users_Update.php page:
<?php require_once( "../WA_Globals/WA_Globals.php" ); ?>
<?php require_once('../Connections/PowerStoreConnection.php'); ?>
<?php require_once("../WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
<?php require_once("../WA_ValidationToolkit/WAVT_Scripts_PHP.php"); ?>
<?php require_once("../WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php"); ?>
<?php require_once( "../WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php require_once('../WA_CMS/WA_CMS.php'); ?>
<?php
require_once("../WA_SecurityAssist/WA_RandomPassword.php");
?>
It is not in the power store 4 users_update page
line 1 - 10 of Power Store 4 admin/users_update.php page:
<?php require_once('../webassist/themes/theme_open.php');
$WAIncludeContent = new WA_Include(__FILE__);
?>
<?php require_once('../Connections/PowerStoreConnection.php'); ?>
<?php require_once("../WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
<?php require_once("../WA_ValidationToolkit/WAVT_Scripts_PHP.php"); ?>
<?php require_once("../WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php"); ?>
<?php require_once( "../WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
require_once("../WA_SecurityAssist/WA_RandomPassword.php");
?>
you will not see this error visiting the power store demo page.
users_update.php
I can see this happening in a upgrade form power store 3 to power store 4.
@Neilo, thank you for your reply. My apologies, I should have mentioned that I have and use the very latest version, 4.01 I think
@Jason, a big thank you to you too. However, my admin/user_update.php is slightly different. The first 10 lines of an unadulterated copy
<?php require_once( "../WA_Globals/WA_Globals.php" ); ?>
<?php require_once('../Connections/PowerStoreConnection.php'); ?>
<?php require_once("../WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
<?php require_once( "../WA_CMS/WA_CMS.php" ); ?>
<?php require_once( "../WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
if (!WA_Auth_RulePasses("Super Administrator")){
WA_Auth_RestrictAccess("users_login.php");
}
?>
Not only do I not have a WA_Globals sub-directory, I also do not have a WA_CMS sub-directory.
My files have been freshly downloaded from WebAssist.
PS
How can I show the script panels??
I just downloaded a fresh copy of the power store 4.01 files, and the first 10 lines of the admin/update_users.php file is the same as posted in my initial reply,
the code you have is from the power store 3 version of that file.
Yes, you are correct as far as admin/users_update.php is concerned; but I have a file in the same directory as follows admin/user_update.php which has the rogue linked files.
I am now beginning to understand, would it be possible that admin/user_update.php is not being used and that this is a rogue file??
Just to add to the confusion, I am not having a problem with the execution of PowerStore, I am just exploring.
now it's making sense.
yes, that file is a rogue file and is not used anywhere in Power Store 4.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.