1
24jedi
Re: problems with WebMailFX_1.0RC2
  • 2004/11/29 21:18

  • 24jedi

  • Just popping in

  • Posts: 25

  • Since: 2004/10/21


kaotik ...Thanks

However from the perspective of trying to understand. The "notices", would they have anything to do with using a variable without first declaring it ?

I know from my limited experience with vb/asp, if you don't first declare a variable before use, you could have problems.

In trying to read the code first, before submitting this question, I didn't see where any variables were declared

I am just curious :)

Thanks



2
24jedi
problems with WebMailFX_1.0RC2
  • 2004/11/29 4:39

  • 24jedi

  • Just popping in

  • Posts: 25

  • Since: 2004/10/21


I am having problems with WebMailFX_1.0RC2
These issues only appear to present themselves when XOOPS PHP Debug = ON.
The functionality of the programs doesn't appear to be suffering, although I've only spent one night banging at it.
Still, The XOOPS PHP debugger is writting error messages.

*(0)**************************************************

I downloaded the zip file and decompressed locally.
I ftp'd the webmailfx folder into the modules folder, just like all the rest.
I installed the WebMailFX RC2 and turned PHP debug=(on)
I have read the read_me and followed the steps with respect to:
- CHMOD 777 /modules/webmailfx/attachments/received
- You need to set register_globals=on for the module to work
- Install the module via the Xooops "Admin Menu"

Basic system info:
Linux/Apache server
PHP 4.3.9
XOOPS 2.0.7.3
For more detailed information usehttp://munyak.com/phpinfo.php

*(1)**************************************************

When I go into Control Panel Home | WebMailFX | Preferences, there are NO PHP errors or warning at the bottom of the screen.

When I go into Control Panel Home | WebMailFX | Statistics, there ARE PHP errors or warning at the bottom of the screen.

Notice [PHP]: Undefined indexcurrent in file modules/webmailfx/class/tabs.php line 283
Notice 
[PHP]: Undefined indexcurrent in file modules/webmailfx/class/tabs.php line 283
Notice 
[PHP]: Undefined indexcurrent in file modules/webmailfx/class/tabs.php line 283


The same three lines appear at the bottom of the screen for:...Statistics, User WebMail, and Group Permissions

For Admin Email, the following four lines appear:
Notice [PHP]: Undefined indexcurrent in file modules/webmailfx/class/tabs.php line 283
Notice 
[PHP]: Undefined indexcurrent in file modules/webmailfx/class/tabs.php line 283
Notice 
[PHP]: Undefined indexcurrent in file modules/webmailfx/class/tabs.php line 283
Warning 
[PHP]: Invalid argument supplied for foreach() in file modules/webmailfx/class/tabs.php line 294


The section of code from tabs.php is below.
Line 283 is the if statment
{
     
$html .= "<li";
-->> if ( 
$tab['current'] == $html .= " id='current'";
     
$html .= "><a href='".$tab['link']."'>".$tab['label']."</a></li>n";
   }

*(2)**************************************************

First I'd like to clarify that with WebMaiFX Debug=ON,
Openning Connection tomail.yak.com //-- [i]real domain not posted[/i]
Connection opened
Sending Command
USER 12345@yak.com //-- [i]real username not posted[/i]
Result OK:
Sending CommandPASS 12345 //--[i]real password not posted[/i]
Result OK:
Sending CommandNOOP
Result OK
:
Sending CommandSTAT
Result OK
:

Now, if you logout of the administration panel and go to the WebMailFX User Module, accessed by using the left hand navbar, you get a different sort of error on the bottoom of the page.

After selecting "Mailbox"
Notice [PHP]: Undefined offset255 in file modules/webmailfx/class.rc4crypt.php line 69


After selecting "Compose"
Notice [PHP]: Undefined variablebody in file modules/webmailfx/compose.php line 68


After selecting "Settings"
Notice [PHP]: Undefined offset255 in file modules/webmailfx/class.rc4crypt.php line 69


Simply clicking the Address books presents no errors,

But if you try to view and existing address entry, you get the following PHP errors.
Notice [PHP]: Undefined variableoptions in file modules/webmailfx/contactbook.php line 318
Notice 
[PHP]: Undefined offset1 in file modules/webmailfx/contactbook.php line 368
Notice 
[PHP]: Undefined offset1 in file modules/webmailfx/contactbook.php line 379


But if you try to Edit and existing address entry, you get the following PHP errors.
Notice [PHP]: Undefined variableoptions in file modules/webmailfx/contactbook.php line 422


Initiating a search for a known contact in the addressbook results in these PHP errors.
Notice [PHP]: Undefined variablecondition in file modules/webmailfx/contactbook.php line 263
Notice 
[PHP]: Undefined variableoptions in file modules/webmailfx/contactbook.php line 269
Notice 
[PHP]: Undefined variablecolor in file modules/webmailfx/contactbook.php line 288


*(3)**************************************************
Since I am not a programmer, I am hoping someone can help me outwith this.

On one hand, the errors don't appear, except when debugging is turned on. On the other hand...an error still appears to exist. What can I do ???

Thanks
Don



3
24jedi
Re:?? formating text in a custom block
  • 2004/11/19 2:55

  • 24jedi

  • Just popping in

  • Posts: 25

  • Since: 2004/10/21


Everyone,

It's been a while but I back to say thanks. I finally screwed my head on and figured out what I was doing wrong.

Posting HTML is working... and probably always was

Thanks for your help.

Don



4
24jedi
Re:modules not showing in admin
  • 2004/11/10 5:58

  • 24jedi

  • Just popping in

  • Posts: 25

  • Since: 2004/10/21


The problem I had was with iMenu. I finally just deleted the iMenu folder from the Modules directory. Once I did this, all the other modules showed up in the module administration page.

Apparently from another post I read, I'm not the only one to have come across a problem with iMenu.



5
24jedi
Re:trouble seeing modules
  • 2004/11/10 2:33

  • 24jedi

  • Just popping in

  • Posts: 25

  • Since: 2004/10/21


The problem I had was with the iMenu module. Not with the XOOPS modules that come preloaded (but not installed)

Before you uninstall the XOOPS modules, I would first uninstall the third-party modules "YOU" downloaded then uploaded to the module directory...such as iMenu.

In my experience, iMenu was the problem. Deleting this sub-directory from the modules directory was my solution.



6
24jedi
Re: xt_conteudo spanish translation needed
  • 2004/11/9 4:56

  • 24jedi

  • Just popping in

  • Posts: 25

  • Since: 2004/10/21


I don't know the exact translation, but it has to do with changing (CHMOD) the file permissions on the "content" folder within the xt_conteudo folder to 777. I saw the same(similar) error when loading just the tinycontent v1.5. The resolution for tinycontent fixed the error I was getting in xt_conteudo



7
24jedi
TinyContent v1.5 : Need some help with the php errors
  • 2004/11/9 4:50

  • 24jedi

  • Just popping in

  • Posts: 25

  • Since: 2004/10/21


Decided to bag xt_conteudo for tinycontent
Now I am having problems with this module.
Again, any help would be appreciated.
XOOPS v2.0.7.3
phpinfohttp://munyak.com/phpinfo.php
tinycontent v1.5

Warning [PHP]: main(): Unable to access ../../../../../mainfile.php in file modules/tinycontent/admin/spaw/config/spaw_control.config.php line 14
Warning [PHP]: main(../../../../../mainfile.php): failed to open stream: No such file or directory in file modules/tinycontent/admin/spaw/config/spaw_control.config.php line 14
Warning [PHP]: main(): Failed opening '../../../../../mainfile.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file modules/tinycontent/admin/spaw/config/spaw_control.config.php line 14
Notice [PHP]: Use of undefined constant imagecategory - assumed 'imagecategory' in file modules/tinycontent/admin/spaw/config/spaw_control.config.php line 70

The directory structure is like this
public_html/
Xoops/
modules/
tinycontent/
admin/
spaw/
config/
spaw_control.config.php

The line of code are

(14) include '../../../../../mainfile.php';
(70) $result = $xoopsDB->query("SELECT imgcat_name, imgcat_id, imgcat_storetype FROM ".$xoopsDB->prefix(imagecategory)." ORDER BY imgcat_name ASC");



8
24jedi
xt_conteudo spanish translation needed
  • 2004/11/9 3:55

  • 24jedi

  • Just popping in

  • Posts: 25

  • Since: 2004/10/21


ERRO: Não consigo acessar o diretório deste arquivo. Por favor, contate o SUPORTE e informe o ERRO: CHMOD!
Upload File

I guess this is an error to report to support having to due with CHMOD. Would someone else please help me with the English translation.

Thanks,
Don



9
24jedi
xt_conteudo error message after install
  • 2004/11/9 3:43

  • 24jedi

  • Just popping in

  • Posts: 25

  • Since: 2004/10/21


I am new to XOOPS and PHP/MySQL,
Please help me understand what is going on with this eror and What I need to do. Thanks,

XOOPS v2.0.7.3
PHP Inof athttp://munyak.com/phpinfo.php
xt_conteudo content manager

the error message was:

Notice [PHP]: Undefined variable: content in file modules/system/admin/modulesadmin/modulesadmin.php line 285

Here is a section of code being reference in the above three lines.
Line 285 is... if (!$content) {

if ((isset($block['template']) && trim($block['template']) != '')) 
{
$content =& xoops_module_gettemplate($dirname$block['template'], true);
}
if (!
$content) {
$content '';
} else {
$template trim($block['template']);
}


Themessage following the install was
Message after installing XT_Conteudo

Version: 1.52
Author: Fernando Santos (aka topet05)
Original Version:Tobias Liegl (AKA CHAPI)

SQL file found at /home/munyakc/public_html/xoops/modules/xt_conteudo/sql/mysql.sql.
Creating tables...
Table xoops_xt_conteudo created.
Module data inserted successfully. Module ID: 10
Adding templates...
Template xt_index.html added to the database. (ID: 232)
Template xt_index.html compiled.
Adding blocks...
Block Menu added. Block ID: 30
Template xt_nav_block.html added to the database. (ID: 233)
Template xt_nav_block.html compiled.
Block List Menu added. Block ID: 31
Block Menus and submenus added. Block ID: 32
Block Tree Menu added. Block ID: 33
Adding module config data...
Config xt_wysiwyg added to the database.
Config com_rule added to the database.
Config option added. Name: _CM_COMNOCOM Value: 0
Config option added. Name: _CM_COMAPPROVEALL Value: 1
Config option added. Name: _CM_COMAPPROVEUSER Value: 2
Config option added. Name: _CM_COMAPPROVEADMIN Value: 3
Config com_anonpost added to the database.
Setting group rights...
Added admin access right for Group ID 1
Added user access right for Group ID: 1
Added block access right. Block ID: 30 Group ID: 1
Added block access right. Block ID: 31 Group ID: 1
Added block access right. Block ID: 32 Group ID: 1
Added block access right. Block ID: 33 Group ID: 1
Added user access right for Group ID: 2
Added block access right. Block ID: 30 Group ID: 2
Added block access right. Block ID: 31 Group ID: 2
Added block access right. Block ID: 32 Group ID: 2
Added block access right. Block ID: 33 Group ID: 2

Module XT-Conteúdo installed successfully.
Back to Module Administration page



10
24jedi
Re: trouble seeing modules
  • 2004/11/9 3:10

  • 24jedi

  • Just popping in

  • Posts: 25

  • Since: 2004/10/21


after turning on debugging I get the following:

With respect to iMenu...

Fatal error: Call to undefined function: phpdefine() in /home/munyakc/public_html/xoops/modules/iMenu/language/english/modinfo.php on line 1

the php file has this code

<?phpdefine("_IM_IMENU_NAME","iMenu");define("_IM_IMENU_DESC","a nice 'postnuke' like link menu.");?>

I finally removed the module(iMenu) from the module tree. BAMM... all the other modules I was trying to install magically appeared under the module administrators page.

The debugging feature ackbarr pointed out, help end a day of frustration :)




TopTop
(1) 2 3 »



Login

Who's Online

151 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 151


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits