Fork me on GitHub

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $105.00
Net Balance: $100.60
Surplus: $0.60

Donations
Anonymous ($105)Jun-2

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 4 6 admin Android AntiHarvesting AntiSpam API Apple Battlefield Blocks Bootstrap Captcha cell chronolabs Clicks Cloud content CĂN demo download Dresses facebook Fat floor Gateway giải Google Guide herre Home Honeypot html5 Human HỘ IP iPhone jQuery Language Law Legal List log Loss module modules Monster new newbb news nhiệt NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher RESIDENCE responsive review Rights rmcommon Room security Sentry Signatures Signed site Smartphone Smarty Smoking Solution Spam stem Studio support tag tdmcreate The Theme themes tháp User userlog web weight xoops Xortify XPayment ZendFramework

New Users

Registering user

# 138859

AnnGuilbert

Welcome to XOOPS!

Forum Index


Board index » All Posts

Bottom   Previous Topic   Next Topic

(1) 2 3 4 ... 29942 »


#1 Posted on: Yesterday 13:24 Re: Please, I need to install a good Directory Module
hi,

Please try one thing.

in contact.php line 235

try to use this
$xoopsMailer xoops_getMailer();

instead of
$xoopsMailer =& getMailer(); //Get mailer object


Top

Bleekk
Joined:
2002/12/14 10:13
From Vienna
Group:
Registered Users
Designer Group
Posts: 589
(Show More) (Show Less)
Topic | Forum


#2 Posted on: Yesterday 7:32 Re: Please, I need to install a good Directory Module
Hi Bleekk, Sorry I am not receiving notifications by mail,
I need to change this email admin1@ipwgc.com on my profile. This email I not use anymore. How I change this email on my profile?

Well, to answer your question, I do not know how tested if mail() works on the server

I have a file in the cgi folder, can be give you the answer.?
SEE IT FROM HERE

I am preparing to install this mxdirectory module in another domain too.
TO SEE IT, CLIC HERE

David

Top

ipwgc
Joined:
2005/8/13 1:08
From Chile
Group:
Registered Users
Posts: 191
(Show More) (Show Less)
Topic | Forum


#3 Posted on: 6/24 12:00 Re: XOOPS 2.5.8 ~ Error : Error: Class
For the record, 2.5.8 was extensively tested on multiple Linux variants as well as multiple stacks on Windows. Somehow, you are skipping the autoloader if Xmf\IPAddress can't be found. The autoloader is started when class/xoopsload.php is included.

For the database transactions, we stay in the default autocommit mode unless the application (module) says otherwise. Since the core uses MyISAM by default, there is no benefit to an explicit transaction, so we don't interfere. For application use, forcing a transaction would break things, since in MySQL transactions cannot nest. It also gets complicated if you are using DDL in the application.

The autocommit behavior already accomplishes what you suggest adding, and the application can easily change that by issuing its own START TRANSACTION.

Lots of the details change in 2.6, and explicit transactions are already used there.

Top

geekwright
Joined:
2010/10/15 17:27
From Keokuk, IA
Group:
Webmaster
Registered Users
Posts: 98
(Show More) (Show Less)
Topic | Forum


#4 Posted on: 6/24 11:31 Re: bug in admin/userhandling
Good catch @goffy!

Seems like we should have a "new user created" event triggered when a user is added. That way, profile could listen for that and add its extras as needed. I'll give that some thought.

Thanks!

Top

geekwright
Joined:
2010/10/15 17:27
From Keokuk, IA
Group:
Webmaster
Registered Users
Posts: 98
(Show More) (Show Less)
Topic | Forum


#5 Posted on: 6/24 9:45 Re: XOOPS 2.5.8 ~ Error : Error: Class 'Xmf\IPAddress' not found
Thanks for sharing!

Top

Cesagonchu
Joined:
2010/2/1 16:21
From France
Group:
Registered Users
News Group
Community Coordinator (temporary)
Posts: 794
(Show More) (Show Less)
Topic | Forum


#6 Posted on: 6/24 6:05 XOOPS 2.5.8 ~ Error : Error: Class 'Xmf\IPAddress' not found
Hey how are you all going? I thought I would enquire about this bug I have just found upgrading labs.coop to XOOPS 2.5.8 ~ do you test this on an Ubuntu environment or WAMP cause it upgraded http://helpingkidsfoundation.org/ without any worries but when I put it on http://labs.coop I get the following error:

Quote:

A problem has occurred on our server!
Page is currently unavailable

We are working on a fix
Please come back soon ...

Error : Error: Class 'Xmf\IPAddress' not found


Notabilty I know trabis has been working on a new Xmf wrapping handler this is obviously it but for some reason It is throwing this error, if you need a copy of the filebase and database let me know, also seeming there will have to be now a XOOPS 2.5.9 can I request for load balancing the following changes to the MySQL Database for the final before we cross over to the next database handling platform in XOOPS 2.6..

// changes for SQL Transaction for Single End Session Writting ~ Load balancing
// class/database/mysqldatabase.php
class XoopsMySQLDatabase extends XoopsDatabase
{
    
/**
     * Database connection
     *
     * @var mysqli
     */
    
public $conn;


    
/**
     * fired with the class destructs
     *
     */
    
public function __destruct()
    {
        
$this->queryF('COMMIT');
    }

    
/**
     * connect to the database
     *
     * @param bool $selectdb select the database now?
     * @return bool successful?
     */
    
public function connect($selectdb true)
    {
        static 
$db_charset_set;
        if (!
extension_loaded('mysqli')) {
            
trigger_error('notrace:mysqli extension not loaded'E_USER_ERROR);

            return 
false;
        }

        
$this->allowWebChanges = ($_SERVER['REQUEST_METHOD'] !== 'GET');

        if (
$selectdb) {
            
$dbname constant('XOOPS_DB_NAME');
        } else {
            
$dbname '';
        }
        if (
XOOPS_DB_PCONNECT == 1) {
            
$this->conn = new mysqli('p:' XOOPS_DB_HOSTXOOPS_DB_USERXOOPS_DB_PASS$dbname);
        } else {
            
$this->conn = new mysqli(XOOPS_DB_HOSTXOOPS_DB_USERXOOPS_DB_PASS$dbname);
        }

        if (!
$this->conn) {
            
$this->logger->addQuery(''$this->error(), $this->errno());

            return 
false;
        }
        if (!isset(
$db_charset_set) && defined('XOOPS_DB_CHARSET') && XOOPS_DB_CHARSET) {
            
$this->queryF("SET NAMES '" XOOPS_DB_CHARSET "'");
        }
        
$db_charset_set 1;
        
$this->queryF('SET SQL_BIG_SELECTS = 1');
    
        
// Start SQL Transaction
        
$this->queryF('START TRANSACTION');

        return 
true;
    }
    
    
//.......
    
}


Notice the changes is only introducing a __destruct as well as 1 line added to the connect with is calling the Opening to an SQL Transaction and is commited when the class to the database destructs...

Download a Font ~ http://fonts.labs.coop

Resized Image

Resized Image

Web Font: *.zip | *.7z | *.rar |*.tar.gz


Top

wishcraft
Joined:
2007/5/18 16:56
From Marrickville South, NSW, Australia
Group:
Registered Users
Posts: 2191
(Show More) (Show Less)
Topic | Forum


#7 Posted on: 6/23 16:57 Re: bug in admin/userhandling
Did you have the issue before or after you've made the changes?
https://github.com/XOOPS/XoopsCore25/pull/133

Or is it the same?

EDIT: I was able to reproduce it....

Top


Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs
Mamba
Joined:
2004/4/23 14:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Super Moderator
Posts: 8608
(Show More) (Show Less)
Topic | Forum


#8 Posted on: 6/23 13:24 Re: bug in admin/userhandling
@goffy

You're right. This appears to be a bug. Hopefully @mamba or @geekwright has time to look into it - definitely should be reviewed in XOOPS 2.6. It's a problem with the way the Profile module tries to hook into the preloads for user editing. The Profile module tries to jump into the middle of the editing sequence and redirect to a different page. The problem is this only works when the preload event is triggered - which it isn't when editing/creating the user from the Admin side.

Unfortunately I don't see a "quick and dirty" work-around to fix it other than triggering the same preload event in more than one place - which could turn into an ugly hack pretty quickly.

Top

zyspec
Joined:
2004/9/21 9:28
From USA
Group:
Registered Users
Posts: 934
(Show More) (Show Less)
Topic | Forum


#9 Posted on: 6/23 12:41 Re: bug in admin/userhandling
@zyspec

yes, it is a problem of module profile (but initiate by system user handling), and you didn't get the error, if you haven't enabled module profile.

again the steps:
1) you create a new user in modules/system/admin.php?fct=users
2) goto admin area modules/profile/admin/user.php and try to edit this user
then I get internal server error:
ErrorErrorCall to a member function getVar() on null


The error raise at line 472 of module/profile/include/forms.php, because the user_id of the user should be also the profile_id in table profile_profile. If I add the user_id to this table, all is working.

Top

goffy
Joined:
2010/12/27 8:39
From Austria
Group:
Registered Users
Posts: 199
(Show More) (Show Less)
Topic | Forum


#10 Posted on: 6/23 11:20 Re: bug in admin/userhandling
goffy,

I suspect this is a profile module bug. I quickly tried to duplicate the error you describe but everything worked ok although I didn't have the Profile module enabled.

Can you give us the "exact" error that happened - include the actual error message. The error message will usually give a file name and line number which helps us narrow down the problem more easily.

Top

zyspec
Joined:
2004/9/21 9:28
From USA
Group:
Registered Users
Posts: 934
(Show More) (Show Less)
Topic | Forum



Top
(1) 2 3 4 ... 29942 »



[Advanced Search]