From: Nick J. <nic...@ya...> - 2005-05-26 04:14:50
|
Today morning when I tried to access phpwebsite, the following message precedes phpwebsite Notice: Undefined index: login_new in /var/www/html/etipl/mod/users/class/Forms.php on line 752 "login_new" is a new boolean variable which we using to pass the option used. How and where are the new variables be defined in the module? Thanks for the help Regards Nick --- Matthew McNaney <ma...@tu...> wrote: > Do you have error reporting turned on? If so, what > is the message? > Did you make a db backup? > > On Wed, 2005-05-25 at 00:07 -0700, Nick James wrote: > > Hi > > > > I tried to add this line to the > > mod/layout/boost/update.php file. The result is > that I > > can't access phpwebsite again. Browser shows > cannot > > find server whereas other web applications are > working > > fine. > > I have tried removing the line and changing the > > permissions of the phpwebsite to full access for > > everybody, but nothing seems to work. > > > > Would appreciate some help. > > > > Regards > > Nick > > > > > > --- Matthew McNaney <ma...@tu...> wrote: > > > Did you add those variables AFTER installation. > If > > > so, you will need to > > > create an update package. > > > You can put this in your update.php file: > > > > > > > > > $_SESSION['OBJ_layout']->installModule('module_name'); > > > > > > > > > On Tue, 2005-05-24 at 03:21 -0700, Nick James > wrote: > > > > Hi > > > > I have been able to construct a site using > > > phpwesite > > > > successfully. > > > > Now I want to add a module (Student > > > Administration) to > > > > the site. According to the help of the > > > documentation > > > > provided with the "Layout" module, I have put > the > > > > output my module into > > > > $GLOBALS["CNT_useradmin_main"]["content"] > after > > > > declaring it > > > > > > > > $GLOBALS["CNT_useradmin_main"] = array("title" > => > > > > "Login", > > > > "content" => > > > null); > > > > > > > > The conf/layout.php file looks as follows > > > > > > > > <?php > > > > $layout_info[] = array ( > > > > > > > > "content_var"=>"CNT_useradmin_main", > > > > > "transfer_var"=>"body", > > > > "home_only"=>0 > > > > ); > > > > ?> > > > > > > > > But still the module part is not visible. > > > > > > > > Could someone help? > > > > > > > > Regards > > > > Nick > > > > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Tired of spam? Yahoo! Mail has the best spam > > > protection around > > > > http://mail.yahoo.com > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by Oracle Space > > > Sweepstakes > > > > Want to be the first software developer in > space? > > > > Enter now for the Oracle Space Sweepstakes! > > > > > > > > > > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > > > > > _______________________________________________ > > > > Phpwebsite-developers mailing list > > > > Php...@li... > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > -- > > > Matthew McNaney > > > Electronic Student Services > > > Appalachian State University > > > http://phpwebsite.appstate.edu > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by Oracle Space > > > Sweepstakes > > > Want to be the first software developer in > space? > > > Enter now for the Oracle Space Sweepstakes! > > > > > > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > > > _______________________________________________ > > > Phpwebsite-developers mailing list > > > Php...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Small Business - Try our new Resources site > > http://smallbusiness.yahoo.com/resources/ > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Yahoo. > > Introducing Yahoo! Search Developer Network - > Create apps using Yahoo! > > Search APIs Find out how you can build Yahoo! > directly into your own > > Applications - visit > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > -- > Matthew McNaney > Electronic Student Services > Appalachian State University > http://phpwebsite.appstate.edu > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create > apps using Yahoo! > Search APIs Find out how you can build Yahoo! > directly into your own > Applications - visit > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > __________________________________ Discover Yahoo! Have fun online with music videos, cool games, IM and more. Check it out! http://discover.yahoo.com/online.html |