71
davidthomas1
Re: Debaser Questions

your main XOOPS folder, you could put it in other folders too (e.g the debaser module folder)

good luck with that
みんなちがってみんないい。

XOOPS 2.0.13.2



72
davidthomas1
Re: Debaser Questions

You may want to make a php.ini file like this:

php.ini
Maximum allowed size for uploaded files.
upload_max_filesize 6M

Maximum size of POST data that PHP will accept.
post_max_size 6M

 
Maximum execution time of each scriptin seconds
max_execution_time 
1200    

 
Maximum amount of time each script may spend parsing request data
max_input_time 
60      

 
Maximum amount of memory a script may consume (8MB)
memory_limit 8M


Make it in notepad, save it as "php.ini" (with the quotemarks) in the Save As.. dialog. Upload it to your server into your XOOPS root directory and it should do the trick.

See the PHP Manual for more information on php.ini settings.

HIH
みんなちがってみんないい。

XOOPS 2.0.13.2



73
davidthomas1
Re: Picking up windows environment variables in PHP

You want the clients username to autolog them into XOOPS?

If you can implement policies on your network,

You could store a cookie on each client computer with an id and their username in it.

Use an Auto-Login hack, check the cookie and there's your auto-logged in clients.
みんなちがってみんないい。

XOOPS 2.0.13.2



74
davidthomas1
Re: Debaser Questions

Currently the Max. Upload Size is defaulted at: 2096128 bytes. How many MB is that?

2096128 Bytes = 1.9990234 Megabytes

5 Megabytes = 5,242,880 Bytes

1 Megabyte = 1,048,576 Bytes

convert bytes to megabytes

You can set php.ini config values in a number of ways
e.g:
1) ini_set() php function
2) .htaccess files
3) placing a file called php.ini the top directory of your website containing the settings you want.

Have a look at this tutorial

or

this one

HIH
みんなちがってみんないい。

XOOPS 2.0.13.2



75
davidthomas1
Re: Picking up windows environment variables in PHP

You might want to look at this open-source PHP extension for building windows apps

WinBinder

from the website:

WinBinder takes advantage of the relatively new CLI SAPI (Command Line Interface / Server Application Programming Interface) that was officially introduced in PHP 4.3.0. A custom-made DLL (a Windows library) extends PHP so it is possible to use the language to build a Windows development platform. The library includes code to manage windows, controls, messages, timers, the registry, GDI (Windows' Graphics Device Interface) and more. A set of low-level functions allows the programmer to access any Windows function, declare structures and access memory directly.


HIH
みんなちがってみんないい。

XOOPS 2.0.13.2



76
davidthomas1
Re: Unexpected parse error

The error: Parse error: parse error, unexpected $ in...

has a couple of causes I'm aware of:

1) incorrect number of curly braces { } in the PHP code.
2) extra whitespace at the beginning or end of the script file.
3) incorrect file encoding.

Solutions

1) Check that the correct number of opening and closing braces are present in the code.
2) Delete any extra whitespace at front or end of your PHP file.
3) Open the file in notepad or similar and save as ANSI or UTF-8 as the case permits.

HIH
みんなちがってみんないい。

XOOPS 2.0.13.2



77
davidthomas1
Re: Xcgal: 'Batch add pictures' do nothing

You need to add them to a folder in your XOOPS structure first, then batch register them with the correct path.

e.g ./uploads/images/

Play around with the path, it may just work out in the end.
みんなちがってみんないい。

XOOPS 2.0.13.2



78
davidthomas1
Re: Headlines Module

You could try using an alternative headlines module like GIJOEs XHLD

may have more luck with that.

though I do have the BBC feed working OK on my site.

Sometimes the headlines don't come through for one reason or another. If you wait a while, you may find that they appear again.

In any case, XHLD looks like a good module, I've been thinking of upgrading myself.
みんなちがってみんないい。

XOOPS 2.0.13.2



79
davidthomas1
Re: cbb 1.15 warning issue

It looks like a problem with permissions.

However, because they're just "warnings", you may find CBB works fine anyway.

Could you post line 299 from modules/newbb/include/functions.php?

Maybe the CBB files need the correct permissions?

Sorry I can't help more, someone else?
みんなちがってみんないい。

XOOPS 2.0.13.2



80
davidthomas1
Re: Custom Blocks weird behavior

I assume you defined your SQL connection constants.

e.g define ("SQL_USER", "USER1");

Otherwise you'll need "$" symbols in front of those variable names.

Another thing, try changing this line from

mysql_select_db(SQL_DB,$conn);
to
mysql_select_db
(SQL_DB);


finally, try specifying the absolute path for:

require('config.php');
e.g
require('home/username/public_html/xoops/config.php');


HIH
みんなちがってみんないい。

XOOPS 2.0.13.2




TopTop
« 1 ... 5 6 7 (8) 9 10 11 ... 36 »



Login

Who's Online

191 user(s) are online (126 user(s) are browsing Support Forums)


Members: 0


Guests: 191


more...

Donat-O-Meter

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

Latest GitHub Commits