Hi. I installed the module on my Drupal 5.7 site. Initialized the block, then created Newsflash content, The block just says Initializing ticker....

My content does not appear. Thoughts?

Php5, Mysql 5 Drupal 5.7

Comments

drupalnesia’s picture

Check if AJAX Newsflash can create this file: /files/tickercontent.txt
Can you show me the sample site? So I can figure out the bug.

kappaluppa’s picture

Same problem exactly for me.... http://208.72.156.154/~faithcheer
And, yes, it can write to that file, and I have run the cron.

drupalnesia’s picture

Thank you for the sample site. It's look like AJAX Newsflash open wrong folder when Drupal installed on sub-folder. I will fix this bug soon.

kappaluppa’s picture

I have changed the .htaccess file Rewrite Base to reflect the location of the site to /~faithcheer/ wouldn't that fix it to reflect that as the baseurl?

But thanks for the info. With that insight I was able to fix it temporarily. I changed the path to the full url on line 60, and added the subfolder name on line 89 to the link in the sites/all/modules/ajax_newsflash/ajax_newsflash.module file and it works. Its a hack, but its working for now until you get the bug fixed.

Thanks,
Kathy

drupalnesia’s picture

Now, bug fix already submit to AJAX Newsflash 5.x-1.4

acsooley’s picture

Run Cron. I was having the same problem until I ran cron.

drupalnesia’s picture

Right, we need to run cron.
AJAX Newsflash will update its content after you run cron.

drupalnesia’s picture

Status: Active » Closed (fixed)

Solved.

XGI-Wrath’s picture

I'm having the same issue. I have some questions:

  • How would one go about testing to see if if AJAX Newsflash can create /files/tickercontent.txt?
  • At what point in the installation and usage process should this file be created?
  • Are there compatibility issues with a private file system?

I created a News Flash node, added some text, saved the node.
Then I added the block #1.
I ran cron manually (several times). And I got the "initializing''' message.
I fond this thread and saw that there was still no /files/tickercontent.txt, so I created an empty one. Ran cron Still no go.
Then I manually put some text in the file and ran cron again. This time the 'initialization..." message was gone, but the block was empty.

Not quite sure what I'm doing wrong. Not even quite sure how to troubleshoot this. Any help would be appreciated.
Thanks in advance.
-=w=-

Drupal	5.8
Cron maintenance tasks	Last run 12 min 58 sec ago
Database schema	Up to date
Drupal core update status	Up to date
File Download Method	Private Downloads
File system	Writable (private download method)
JQuery Update	Installed correctly
The current installed version of JQuery is 1.1.2
Module update status	Up to date
MySQL database	5.0.51a
PHP	5.2.5
PHP register globals	Disabled
Unicode library	PHP Mbstring Extension
Web server	Apache/1.3.41 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7a
http:BL	Enabled
XGI-Wrath’s picture

Version: 5.x-1.2 » 5.x-1.7
Status: Closed (fixed) » Active

As I said. I did run cron a number of times.
I would love to perform the troubleshooting step: "Check if AJAX Newsflash can create this file: /files/tickercontent.txt" But as I said before, I don't know how. I can tell you that it is not creating it.
In addition to the system info I posted on the 15th I should add that I'm running Ajax Newsflash 5.x-1.7. Sorry I omitted that before.

dtmatthes’s picture

"But thanks for the info. With that insight I was able to fix it temporarily. I changed the path to the full url on line 60, and added the subfolder name on line 89 to the link in the sites/all/modules/ajax_newsflash/ajax_newsflash.module file and it works. Its a hack, but its working for now until you get the bug fixed.

Thanks,
Kathy"

Could you tell me what the code is on lines 60 and 89? I'm having a hard time finding the right lines to change for some reason.

drupalnesia’s picture

Version 5.x-1.8 fixs the cron problem.
Now we don't need to run Cron Job anymore. New Newsflash will automatic create after we click Save/Submit.

drupalnesia’s picture

Status: Active » Closed (fixed)

Please open new thread if u find any bugs after 5.x-1.10 version. Thanks.