1281
wishcraft
Re: Captcha Module - How do I change the message text

Hi mate how you doing, i am an aussie as well

Umm check out the captcha I am using - http://www.chronolabs.org.au/register.php

If you want to use it; you will find it in the module repository.

https://xoops.org/modules/repository/singlefile.php?cid=43&lid=1674

It uses AI to beat the text recognition robots that have started to come out...
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1282
wishcraft
Re: x-Soap 1.1 & Legacy MySQL Services (4.0)

The specs I wrote x-Soap on are as follows:

Kernel version 2.6.18-53.1.6.el5
Machine Type x86_64
Apache version 1.3.41 (Unix)
PERL version 5.8.8
PHP version 5.2.5
MySQL version 4.1.22-standard
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1283
wishcraft
Re: x-Soap 1.1 & Legacy MySQL Services (4.0)

Well I am not sure why you are receiving a white screen on your admin path, it is a very simple config, just selecting the tables and the fields you want to serve.

Check the zip CRC with HashCalc, u could have one of the pre beta's that was released over the day or so of testing. You can look up the ZIP CRC in the wiki x-Soap.

----

When it comes to the WDSL error, that is something to do with your server, I am not sure if the version of PHP your running is compatible with soap. When php5 was released there was a couple of earlier version that where not compatible with the class modules I am using call - nuSoap or soap in general, they then added in support for a WDSL with it.. You may want to turn off WDSL in preferences as well that is how I have it running..

There is also a setting to do with wsdl in php5 you may have to enable using ini_set

----

If your CRC's match then you are running a working copy, which is the same copy that runs the PHP example files in /xsoap/testing

Run the testing file if you like and see if you get a print_r statement at the top below the debug information, all I can suggest is if you

---

Check out this file

http://www.unseen.org.au/modules/xsoap/testing/retrieve.php

if the one at your domain displays the same, then SOAP is working, otherwise there might be some form of system configuration that is doing it..

You could also alter the path in the testing files to your server to debug it, but you would need the admin function to enable a table or two.

line 5 would be

$client = new soapclient('http://www.yourdomain.com/modules/xsoap/');
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1284
wishcraft
Re: cakePHP 1.1 Is it worth importing?

Resized ImageModule: x-Cake
Adaption By: Simon Roberts
Size: 342Kb's
License: MIT

x-Cake is the Rapid Development Suite for PHP Applications, it is stable release 1.1 of cake modified to work in the modules section of xoops.

You can quickly write modules for XOOPS if you know the Cake Method and structure, or import your existing Cake Framework Application into a more dynamic environment like xoops. For support and information on cakephp try their website..

Quote:

CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. Using commonly known design patterns like MVC and ORM within the convention over configuration paradigm, CakePHP reduces development costs and helps developers write less code.
http://www.cakephp.org


Download: xoops2_xcake_1.1.zip (343Kb)
Original Author: http://www.cakephp.org
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1285
wishcraft
Re: cakePHP 1.1 Is it worth importing?

Thanks phppp '=), so would recommend spending sometime to make x-cakePHP or something to that effect as a module you can import so people can drop there cake APPs, into the modules app folder to have something either running within the XOOPS environment or like mediawiki does goes to CakePHP mode.

I am sure it would only take a couple of days, I am just wondering what you mean by importing frameworks.. Can you offer me some advice thanks..

Just working on my time allocation!!
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1286
wishcraft
cakePHP 1.1 Is it worth importing?

I am wondering if anyone feels upto writing a clone of the cakePHP (http://www.cakephp.org) range in case someone want to do imports of cakePHP applications in a XOOPS framework.

I recently made my bin directory where you download all those Modules and Hacks from I wrote recently for xoops.

The bin is in cake PHP, http://bin.chronolabs.org.au/ is the path I am talking about here is the file structure of the bin subdomain on chronolabs.

I don't know I have been playing with it through the evening into the morning for the first time and it seems like a good application framework for RAD, might get some use it would be kewl if you could drop in these.

File Path
../root
.... /.htaccess (1.0)
.... /
index.php (1.1)
.... /
zip/download.php (1.3)
.... /
files/ <-cake goes here


1.0 - .htaccess file
Quote:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ([a-zA-Z0-9\ \'\_\-\.]+.zip)$ zip/download.php?file=$1 [L,NC,QSA]


1.1 - Index.php
header("Location: http://bin.chronolabs.org.au/files/downloads/"); ?>


1.1 - download.php
    $default = array('driver' => 'mysql',
                                
'connect' => 'mysql_connect',
                                
'host' => 'localhost',
                                
'login' => 'htriukrw_bin',
                                
'password' => 'password',
                                
'database' => 'htriukrw_bin',
                                
'prefix' => '_cake');

    if (isset(
$default)){     

     
$mysql mysql_connect($default['host'],$default['login'],$default['password']);
     
$db mysql_select_db($default['database'],$mysql);
     
$result mysql_query('update '.$default['prefix'].'downloads set downloads=downloads+1 WHERE download_url LIKE "%'.$_REQUEST['file'].'";',$mysql);
    }     

     
header("Expires: Mon, 26 Nov 1962 00:00:00 GMT");
     
header("Last-Modified: " gmdate("D,d M Y H:i:s") . " GMT");
     
header("Cache-Control: no-cache, must-revalidate");
     
header("Pragma: no-cache");
     
header("Content-Type: Application/octet-stream");
     
header("Content-disposition: attachment; filename=" $_REQUEST['file']);
     
readfile($_REQUEST['file']);

    if (isset(
$mysql)){     
     
$result mysql_query('update '.$default['prefix'].'downloads set complete=complete+1 WHERE download_url LIKE "%'.$_REQUEST['file'].'";',$mysql);
    }     
?>


Then build my cake frame work which i worked out from the tutorial on cake and there bakery is lacking items.
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1287
wishcraft
x-Soap 1.1 & Legacy MySQL Services (4.0)

Quote:

armitage wrote:
Simon - Thanks for this module - XOOPS as a service!!!

You asked for bug reports through PM. I'm getting whitescreen in the admin for both Configure Tables and Configure Fields. Preferences works as expected. Nothing in debug. XOOPS 2.0.18, Apache2, Mysql4, PHP5.


Could be the fact you are running MySQL 4, I am using 5.1.. Otherwise I am not sure we should debug this as if you MD5 or CRC is the same as the one in the wiki x-Soap then you have the same version that I am running on the test server http://www.unseen.org.au which you can use in the testing directory of the module.

The command you want to check out is

http://dev.mysql.com/doc/refman/4.1/en/show.html

I will raise a forum topic about this, as i think there will be a few people using a legacy MySQL service..

The line number 49 of /xsoap/admin/index.php should read something like this for MySQL 4.0

// Line 49 is
$sql "SHOW FIELDS FROM ".$xoopsDB->prefix(get_tablename($tbl_id));

// Line 49 could be
$sql "SHOW COLUMNS FROM ".$xoopsDB->prefix(get_tablename($tbl_id));


and the line 185 of the same file may have to have a different pattern as i dont think \_ is a call in SQL the legacy MySQL Services, If you have these your hosting provider should have upgraded a LONG time ago!!

Something like..

// 185 is
$sql "SHOW TABLES FROM ".XOOPS_DB_NAME." LIKE '".XOOPS_DB_PREFIX."_%'";

// 185 could be
$sql "SHOW TABLES FROM ".XOOPS_DB_NAME." LIKE '".XOOPS_DB_PREFIX."%'";
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1288
wishcraft
Re: [x-Soap] Problem with uninstall

yeah if you want to patch that it is line 50 of xoops_version.php

$modversion['tables'][0]    = 'soap_table';

// Should be

$modversion['tables'][0]    = 'soap_tables';
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1289
wishcraft
x-Soap 1.1 (XOOPS Makes programming easy)

Resized ImageModule: x-Soap
Author: Simon Roberts
Version: 1.1

x-Soap is an extension library for XOOPS, it is a soap server that is design to have a secure sydnication method for customised crons and systems intergration. You can share any part of your XOOPS database securely with x-soap including post, retrieve and update.

Help System will be written for this module, you can securely and safely sydnicate databases within the XOOPS environment with any SOAP compatible system.

SOAP is a w3c Standard XML Exchange, this a full WDSL and Standard Soap Server for XOOPS.

I spend the day from about 9am writting this.

Download: xoops2_xsoap_1.1.zip (156Kb)
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1290
wishcraft
Re: SSL for just one module

Which module are you using?? I suggest you use MakePayment .. This allows for anonymous payment with a redirection URL so it can trigger that the payment was recieved.

As https:// and http:// are consider different sites by the cookies which is part of their security you have to have the customer logged into ssl from the start.
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts




TopTop
« 1 ... 126 127 128 (129) 130 131 132 ... 135 »



Login

Who's Online

184 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 184


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits