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

User Update missing link

Thread began 1/22/2011 10:28 pm by Ben Pleysier | Last modified 1/25/2011 11:49 am by Jason Byrnes | 1365 views | 10 replies |

Ben Pleysier

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?

Sign in to reply to this post

neilo

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.

Sign in to reply to this post

Ben Pleysier

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.

Sign in to reply to this post

neilo

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:

  Warning: require_once(../WA_Globals/WA_Globals.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/l/i/s/lisaellen/html/admin/user_update.php on line 1

Fatal error: require_once() [function.require]: Failed opening required '../WA_Globals/WA_Globals.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/l/i/s/lisaellen/html/admin/user_update.php on line 1  

Maybe a WA tech will throw a little light on its inclusion on Monday.

Sign in to reply to this post

Jason ByrnesWebAssist

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

Sign in to reply to this post

Ben Pleysier

@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??

Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

Ben Pleysier

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.

Sign in to reply to this post

Jason ByrnesWebAssist

now it's making sense.


yes, that file is a rogue file and is not used anywhere in Power Store 4.

Sign in to reply to this post

Ben Pleysier

Jason,

Thank you

Ben

Sign in to reply to this post
loading

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