| Author |
Message |
HrlyKrs
Beginner


Joined: Apr 11, 2005 Posts: 12 Location: New York, NY
|
Posted: Mon Jun 20, 2005 6:55 pm Post subject: slideshow not working inside phpnuke |
|
|
the slide show doesn't appear to be working when it is embedded in phpnuke.
Quote: ›
Gallery version = 2.0-beta-3+ core 0.9.25
PHP version = 4.3.11 apache2handler
Webserver = Apache/2.0.52 (Fedora)
Database = mysql 3.23.58
Toolkits = ArchiveUpload, Exif, NetPBM, SquareThumb, ImageMagick, Thumbnail
Operating system = Linux huey.kh-tech.com 2.6.11-1.27_FC3 #1 Tue May 17 20:27:37 EDT 2005 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
PHP-Nuke version = 7.6
|
|
| Back to top |
|
|
AdBot
|
| Post subject: slideshow not working inside phpnuke |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6318 Location: Washington Township, NJ, USA
|
Posted: Wed Jun 22, 2005 6:25 am Post subject: Re: slideshow not working inside phpnuke |
|
|
| Gallery2 is still beta, as is the integration work. What errors are you seeing? |
|
| Back to top |
|
|
HrlyKrs
Beginner


Joined: Apr 11, 2005 Posts: 12 Location: New York, NY
|
Posted: Wed Jun 22, 2005 2:07 pm Post subject: Re: slideshow not working inside phpnuke |
|
|
Unfortunately, there are no errors in /var/log/httpd/error_log. there are also no error in the browser either.
the image just never changes from the first one. It also appears that changing the settings (delay, direction, and size) don't do anything. |
|
| Back to top |
|
|
kradsith
Beginner


Joined: Oct 27, 2004 Posts: 3
|
Posted: Thu Jun 23, 2005 7:02 am Post subject: Re: slideshow not working inside phpnuke |
|
|
I have the same problem. not sure yet what is causing it. but I do find if you jump into the standalone G2 without phpnuke. it works.
 |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6318 Location: Washington Township, NJ, USA
|
Posted: Thu Jun 23, 2005 7:16 am Post subject: Re: slideshow not working inside phpnuke |
|
|
aah..i see the problem here too. go post this as a bug  |
|
| Back to top |
|
|
kradsith
Beginner


Joined: Oct 27, 2004 Posts: 3
|
|
| Back to top |
|
|
HrlyKrs
Beginner


Joined: Apr 11, 2005 Posts: 12 Location: New York, NY
|
Posted: Thu Jun 23, 2005 8:03 am Post subject: Re: slideshow not working inside phpnuke |
|
|
| what's your opinion of drupal? do you know of some place that compares all of the CMS's? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6318 Location: Washington Township, NJ, USA
|
Posted: Thu Jun 23, 2005 8:10 am Post subject: Re: slideshow not working inside phpnuke |
|
|
| actually, i see why this isnt' working...the javascript hasn't been inserted into the header of the page...i'm gonna tweak and try to get this fixed. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6318 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
HrlyKrs
Beginner


Joined: Apr 11, 2005 Posts: 12 Location: New York, NY
|
Posted: Thu Jun 23, 2005 8:58 am Post subject: Re: slideshow not working inside phpnuke |
|
|
| works great! thanks, mate! |
|
| Back to top |
|
|
kradsith
Beginner


Joined: Oct 27, 2004 Posts: 3
|
Posted: Thu Jun 23, 2005 12:24 pm Post subject: Re: slideshow not working inside phpnuke |
|
|
Your Kung-fu is better than mine
You da man! |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6318 Location: Washington Township, NJ, USA
|
Posted: Fri Jun 24, 2005 5:48 am Post subject: Re: slideshow not working inside phpnuke |
|
|
| this has been committed to CVS as of about 10 minutes ago. It will take a few hours for the anonymous pserver to grab it, but it should appear in the next nightly build. |
|
| Back to top |
|
|
WhirlyGirl
Beginner


Joined: Dec 28, 2004 Posts: 19
|
Posted: Sat Mar 04, 2006 5:53 pm Post subject: Re: slideshow not working inside phpnuke |
|
|
Still not working for me unfortunately, and I have got the extra lines of code in there already.
WG |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6318 Location: Washington Township, NJ, USA
|
Posted: Mon Mar 06, 2006 7:49 am Post subject: Re: slideshow not working inside phpnuke |
|
|
| if you have JS disabled in your browser, it won't work |
|
| Back to top |
|
|
StarScream159
Wizard


Joined: Apr 08, 2006 Posts: 120
|
Posted: Thu Oct 12, 2006 2:09 am Post subject: Re: slideshow not working inside phpnuke |
|
|
Sorry to bring back an old thread, but it appears that this solution didn't work for me.
I just attempted to run the Slideshow on my site, it didn't work. It did exactly what HrlyKrs orginally said. Doesn't change the starting image, and clicking the buttons along the top don't seem to do anything. EXCEPT the "stop" button. Hitting that will take you back to the album, viewing the picture it was stuck on.
I do have the mentioned code added to my index.php file, and javascript is enabled on my browser. I use Firefox and no errors, or anything came up. However, when I ran it in Internet Explorer. And error did come up and I went into the debugger.
It went to the following file and line of code with the error;
modules.php in the root folder on my webserver;
Line: 321;
PHP: › <?php function show_text() {
spanTitle.innerHTML = document.getElementById('title_'+index).innerHTML;
spanSummary.innerHTML = document.getElementById('summary_'+index).innerHTML;
spanDate.innerHTML = document.getElementById('date_'+index).innerHTML;
//line below me was highlighted
spanDescription.innerHTML = document.getElementById('description_'+index).innerHTML;
} ?>
The error was "htmlfile: Unknown runtime error" but I don't think that means anything.
If I click one of the buttons along the top (i hit the delay button), I get this in IE on the same php file:
PHP: › <?php function goto_next_photo() {
index = move_index(1);
if (bCanBlend) apply_filter();
document.images.slide.src =
//line below me was highlighted
document.getElementById('item_'+index+'_'+item_map[index][iSize]).href;
linkStop.href = document.getElementById('href_'+index).href;
if (bCanBlend) document.images.slide.filters[0].Play();
} ?>
It reports, "Error: Object Requred." and reports line number 311. This will happen now matter what time delay I pick.
Quote: › Gallery version = 2.1.2 core 1.1.0.2
PHP version = 4.4.4 cgi
Webserver = Apache/1.3.37 (Unix) mod_jk/1.2.14 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
Database = mysql 4.1.21-standard, lock.system=flock
Toolkits = ArchiveUpload, Exif, ImageMagick, Thumbnail, Gd
Acceleration = partial/3600, none
Operating system = Linux
Default theme = matrix
Locale = en_US
Browser = Firefox/1.5.0.7 or IE 6
ANY help by ANYONE would be kickass! Thanks for reading everyone!
EDIT:
Sorry, I noticed in Firefox's Javascript Consol window I do get an error when I attempt to view the slideshow. It comes up with an error in the function goto_next_photo() { function as mentioned above. |
|
| Back to top |
|
|
|
|
|
|
|