I don't know where I'm going wrong. Any time I try to use the examples you give all I get is "Page not found".
When trying the link http://zxx.iter.tut/textimage/title/ciao.png I can intercept this parameters in the textimage_menu function:
Array ( [0] => Array ( [path] => _textimage/image/ciao.png [title] => textimage [callback] => _textimage_captcha_image [access] => 1 [type] => 4 ) [1] => Array ( [path] => admin/settings/textimage/preset//delete [title] => Edit Preset [callback] => drupal_get_form [callback arguments] => Array ( [0] => textimage_preset_delete_confirm [1] => ) [access] => 1 [type] => 4 ) [2] => Array ( [path] => admin/settings/textimage/preset//flush [title] => Flush Preset Cache [callback] => drupal_get_form [callback arguments] => Array ( [0] => textimage_preset_flush_confirm [1] => ) [access] => 1 [type] => 4 ) )
Then I'm lost. CAPTCHAs work no probs, so it really beats me. Where am I going wrong!?
My system configuration:
Drupal 5.1
Configuration file Protected
Cron maintenance tasks Last run 3 sec ago
Database schema Up to date
File system Writable (private download method)
GD library bundled (2.0.28 compatible)
MySQL database 5.1.11
PHP 5.2.0
Unicode library PHP Mbstring Extension
Web server Apache/2.2.3 (Win32) PHP/5.2.0
Plus I have clean-urls running, no problems so far with them. I'm on a multisite install. The present "title" exists and I already tried making it all undercase (it initially was "Title"). Still nothing but a "page not found" :(
Pls help.
Comments
Comment #1
Bèrto ëd Sèra commentedForgot to add that the link I'm quoting is VERY local to my machine here. So no use in trying it from there.
Comment #2
davereplicant commentedI must admit I'm trying to work through the same problem.
I'm experiencing the exact scenario as above. I'm using the same Hosting provider as another Drupal site in 4.7 which works no problem.
I have the path Module enabled.
I also have the file transfer methos set to Private.
Would love to know if anyone has any ideas.
thanks in advance
Dave
Comment #3
Bèrto ëd Sèra commentedOnce we arrived online the situation got even more twisted:
Now we have a "The current font path is invalid. The default font will be used." message in the red box at the same time as the interface says:
Number of captcha fonts found: 1
Number of captcha background images found: 1
Captcha keeps working okay, anyway.
Same happens for text-image:
Number of fonts found: 1
the used path is not accessible to the webserver and is expressed as
/home/iiter/iter_files/fonts
If it can be of any help, you can see the site's PHP configuration here: http://i-iter.org/php_info.php
Comment #4
developone commentedI jsut had the same problem - had a look at file textimage.module
in textimage_menu() the path to generate the image is set as 'path' => file_directory_path() . '/textimage',
so try http://yourdomain/[FILES]/textimage/presetname/hello.png
where [FILES] = the name of the folder set in your filesystem settings for drupal - which is by default 'files'