1
Mausirius
MX directory 3.01 in 2.4.0
  • 2009/11/3 19:56

  • Mausirius

  • Just popping in

  • Posts: 12

  • Since: 2006/7/8 2


I try to use MX Directory 3.01 in XOOPS 2.4.0 but it´s dont work propely.
I use in 2.3.3 and works fine.

someone have a solution?

thanks


2
ghia
Re: MX directory 3.01 in 2.4.0
  • 2009/11/3 20:16

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Ok and what is going wrong or different?

3
Mausirius
Re: MX directory 3.01 in 2.4.0
  • 2009/11/4 19:11

  • Mausirius

  • Just popping in

  • Posts: 12

  • Since: 2006/7/8 2


It´s my problem:

In the front side of the site, in the modules administration and in the instalation, mxdirectory apparentely works well, but when i try to access the functions in the control panel, i recevied this message:

Parse error: syntax error, unexpected $end in /home/myhost/mysite/public_html/modules/anunciantes/admin/index.php on line 1725

and because this i can´t config the module.

this is the code lines, start in the line 1646
Quote:


redirect_header("index.php?op=listNewLinks",1,_MD_NEWLINKADDED);
}
if(!isset($_POST['op'])) {
$op = isset($_GET['op']) ? $_GET['op'] : 'main';
} else {
$op = $_POST['op'];
}
switch ($op) {
case "multicat":
multicat();
break;

*// here i just jump many lines of code

case "listNewLinks":
listNewLinks();
break;
case 'main':
default:
xdir();
break;
}
?> *// this is the line 1725


What i can do to solve this?

4
trabis
Re: MX directory 3.01 in 2.4.0
  • 2009/11/4 19:48

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I think there is a missing } or and extra { somewhere on that file.

5
ghia
Re: MX directory 3.01 in 2.4.0
  • 2009/11/4 20:27

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


The error suggest that there is somewhere a missing } or a { too many.
Weird that it worked with 2.3.3, or is it on another system with another PHP version?

Checked the file and seems allright.
I don't know if an include file could cause it. Do you use language files?

Long shot: Could be the '45%>' Probably not, but try '45% >'

6
Mausirius
Re: MX directory 3.01 in 2.4.0
  • 2009/11/9 14:51

  • Mausirius

  • Just popping in

  • Posts: 12

  • Since: 2006/7/8 2


Hi,

i uninstall mxdirectory from my XOOPS 2.4.0. delete all archives from my server, and after i do it i do a new upload of the mxdirectory using a package from this link http://dev.xoops.org/modules/xfmod/project/?mx-directory, and the problems persistis. The same error message. and i can´t administrate the module.

Now i wiil try do a new instalation of the XOOPS 2.3.3 and install mxdirectory because before 2.4.0 it´s working well.

I will report the process.

see you


7
Mausirius
Re: MX directory 3.01 in 2.4.0
  • 2009/11/10 18:16

  • Mausirius

  • Just popping in

  • Posts: 12

  • Since: 2006/7/8 2


it´s me back

i change my XOOPS to 2.3.3 and reinstall mx directory and the problem persists.

and come back to a new installation of XOOPS 2.4.0, and any other modules works fine: mastop go2, mastop publish, dbtools, xhld0, protector 3.4, multimenu 1.84, PM, profile and contact.

i do a local installation using easyPHP 2.0b1 with this configurations, and mxdirectory works well:

System Overview «
XOOPS Version - XOOPS 2.4.0
PHP Version - 5.2.0
MySQL Version - 5.0.27-community-log
Server API Version - apache2handler
OS Version - WINNT

safe_mode - Off
register_globals - Off
magic_quotes_gpc - Off
allow_url_fopen - On
fsockopen - On
allow_call_time_pass_reference - Off
post_max_size - 8M
max_input_time - 60
output_buffering - 4096
max_execution_time - 30
memory_limit -
file_uploads - On
upload_max_filesize - 5M


Loaded PHP extensions «

* bcmath
* calendar
* com_dotnet
* ctype
* session
* filter
* ftp
* hash
* iconv
* json
* odbc
* pcre
* Reflection
* date
* libxml
* standard
* tokenizer
* zlib
* SimpleXML
* dom
* SPL
* wddx
* xml
* xmlreader
* xmlwriter
* apache2handler
* gd
* mbstring
* mysql
* mysqli
* PDO
* pdo_sqlite

my internet host have this configurations:


System Overview «
XOOPS Version - XOOPS 2.4.0
PHP Version - 5.2.11
MySQL Version - 5.1.38-gpl-log
Server API Version - apache2handler
OS Version - Linux

safe_mode - Off
register_globals - Off
magic_quotes_gpc - Off
allow_url_fopen - Off
fsockopen - On
allow_call_time_pass_reference - On
post_max_size - 64M
max_input_time - 60
output_buffering - 4096
max_execution_time - 60
memory_limit - 64M
file_uploads - On
upload_max_filesize - 64M
Loaded PHP extensions «

* date
* libxml
* openssl
* pcre
* zlib
* bz2
* calendar
* ctype
* curl
* hash
* filter
* ftp
* gettext
* gmp
* session
* iconv
* posix
* Reflection
* standard
* SimpleXML
* SPL
* sockets
* exif
* tokenizer
* wddx
* xml
* apache2handler
* bcmath
* dba
* dbase
* dbx
* dom
* gd
* imagick
* imap
* interbase
* json
* ldap
* mbstring
* mcrypt
* mhash
* ming
* mssql
* mysql
* mysqli
* ncurses
* odbc
* pdf
* PDO
* pdo_dblib
* pdo_mysql
* PDO_ODBC
* pdo_pgsql
* pdo_sqlite
* pgsql
* pspell
* rar
* soap
* SourceGuardian
* SQLite
* tidy
* xmlreader
* xmlrpc
* xmlwriter
* xsl
* zip
* ionCube Loader
* Zend Optimizer


In my internet host installation i set language to english and do many tests and see this. When i click in some links of mxdirectory admin panel the thinks work well, but others links dont work, like this:

* Overview ( don´t work )
[size=x-small] http://www.caraguaweb.com.br/modules/anunciantes/admin/index.php?op=xdir[/size]
* Categories ( don´t work )
[size=x-small] http://www.caraguaweb.com.br/modules/anunciantes/admin/index.php?op=multicat [/size]
* Listings ( don´t work )
[size=x-small] http://www.caraguaweb.com.br/modules/anunciantes/admin/index.php?op=linksConfigMenu [/size]
* Coupons ( work )
[size=x-small] http://www.caraguaweb.com.br/modules/anunciantes/admin/coupon.php?op=menu [/size]
* Submitted Listings ( don´t work )
[size=x-small] http://www.caraguaweb.com.br/modules/anunciantes/admin/index.php?op=listNewLinks [/size]
* Broken Links ( don´t work )
[size=x-small] http://www.caraguaweb.com.br/modules/anunciantes/admin/index.php?op=listBrokenLinks [/size]
* Modified Listings ( don´t work )
[size=x-small] http://www.caraguaweb.com.br/modules/anunciantes/admin/index.php?op=listModReq [/size]
* Blocks & Groups ( work )
[size=x-small] http://www.caraguaweb.com.br/modules/anunciantes/admin/myblocksadmin.php [/size]
* Preferences ( work )
[size=x-small] http://www.caraguaweb.com.br/modules/system/admin.php?fct=preferences&op=showmod&mod=10 [/size]


And this green functions only works with the default admin theme GUI.
with oxygen, exm, legacy admin theme GUI, nothing work.


all the links that don´t work have the this funtction:
/modules/anunciantes/admin/index.php?op=
can be an incompatibility function to 'op':

Quote:
redirect_header("index.php?op=listNewLinks",1,_MD_NEWLINKADDED);
}
if(!isset($_POST['op'])) {
$op = isset($_GET['op']) ? $_GET['op'] : 'main';
} else {
$op = $_POST['op'];
}
switch ($op) {
case "multicat":
multicat();
break;
case "multicatS":
multicatS();
break;


what can i do?
any light in the end of the tunnel. it´s drive me crazy



8
trabis
Re: MX directory 3.01 in 2.4.0
  • 2009/11/10 18:58

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Is "anunciantes" a mxdirectory cloned by your or does the module supports name changing?
Can you get me a link to download the version you are using?

9
Mausirius
Re: MX directory 3.01 in 2.4.0
  • 2009/11/10 19:16

  • Mausirius

  • Just popping in

  • Posts: 12

  • Since: 2006/7/8 2


archive install.txt from mxdirectory
Quote:

Module Name : MX-Directory
Version Number : 3.00
Module developer : Tripmon

Install Instructions
1. Upload the mxdirectory directory to XOOPS_ROOT_URL/modules/

2. Rename the mxdirectory if desired to a new directory name if desired. Note this must be done
before installing the module (step 3 below).

2. Log in to your site as administrator.

3. Install the module using the XOOPS module administration panel at 'System Admin -> Modules'.

4. Configure module options using the XOOPS module administration panel at 'MX-Directory -> Preferences'.


i try to install without change the directoy name, and i get the same problem.

this the link to mxdirectory:
http://dev.xoops.org/modules/xfmod/project/?mx-directory

man... since now thanks a lot for the help


10
trabis
Re: MX directory 3.01 in 2.4.0
  • 2009/11/10 19:48

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Remove index.html from admin folder. Your server is running .html first and .php in second.

Login

Who's Online

336 user(s) are online (259 user(s) are browsing Support Forums)


Members: 0


Guests: 336


more...

Donat-O-Meter

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

Latest GitHub Commits