Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Installed block got it working..sorta?
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Author Message
fluentdesigns

User
User


Joined: Jul 31, 2003
Posts: 38

PostPosted: Mon Aug 04, 2003 5:52 pm    Post subject: Installed block got it working..sorta? Reply with quote

Installed the improved random picture block and edited the files but i get this error after adding it to the site. the block shows up but theses show up over the block.

Warning: Cannot send session cache limiter - headers already sent (output started at /var/www/virtual/planet-diesel/header.php:32) in /var/www/virtual/planet-diesel/gallery/session.php on line 51

Warning: Invalid argument supplied for foreach() in /var/www/virtual/planet-diesel/gallery/session.php on line 55
----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Installed block got it working..sorta?  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Mon Aug 04, 2003 7:31 pm    Post subject: Reply with quote

fluentdesigns wrote: › Installed the improved random picture block and edited the files but i get this error after adding it to the site. the block shows up but theses show up over the block.

Warning: Cannot send session cache limiter - headers already sent (output started at /var/www/virtual/planet-diesel/header.php:32) in /var/www/virtual/planet-diesel/gallery/session.php on line 51

Warning: Invalid argument supplied for foreach() in /var/www/virtual/planet-diesel/gallery/session.php on line 55
----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):
for the session error, open the block file and put this:
Code: ›
global $gallery;

after this line at the top of the file:
Code: › <?php


for the second error, open session.php and go to line 55. you will see two instances of $_HTTP_SESSION_VARS, change them both to $_SESSION.
Back to top
Offline View user's profile Send private message Visit poster's website
fluentdesigns

User
User


Joined: Jul 31, 2003
Posts: 38

PostPosted: Tue Aug 05, 2003 2:00 am    Post subject: Re: Installed block got it working..sorta? Reply with quote

Now its worst lol

Warning: Cannot send session cookie - headers already sent by (output started at /var/www/virtual/planet-diesel/header.php:32) in /var/www/virtual/planet-diesel/gallery/session.php on line 51

Warning: Cannot send session cache limiter - headers already sent (output started at /var/www/virtual/planet-diesel/header.php:32) in /var/www/virtual/planet-diesel/gallery/session.php on line 51

Warning: Unable to create '/var/www/virtual/planet-diesel/albums/hourly.jpg': Permission denied in /var/www/virtual/planet-diesel/gallery/platform/fs_unix.php on line 24

Warning: fopen("/var/www/virtual/planet-diesel/albums/hourly.txt", "w") - Permission denied in /var/www/virtual/planet-diesel/gallery/platform/fs_unix.php on line 53

Warning: Supplied argument is not a valid File-Handle resource in /var/www/virtual/planet-diesel/gallery/random_support.php on line 118

Warning: Supplied argument is not a valid File-Handle resource in /var/www/virtual/planet-diesel/gallery/random_support.php on line 119
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Aug 05, 2003 7:26 am    Post subject: Reply with quote

those "permission denied" errors means that the webserver user does not have write access to the album directory. if you have shell access:
chmod -r 0777 albums
will fix those errors.
Back to top
Offline View user's profile Send private message Visit poster's website
fluentdesigns

User
User


Joined: Jul 31, 2003
Posts: 38

PostPosted: Tue Aug 05, 2003 11:39 am    Post subject: Re: Installed block got it working..sorta? Reply with quote

Ok that worked now im down to this

Warning: Cannot send session cookie - headers already sent by (output started at /var/www/virtual/planet-diesel/header.php:32) in /var/www/virtual/planet-diesel/gallery/session.php on line 51

Warning: Cannot send session cache limiter - headers already sent (output started at /var/www/virtual/planet-diesel/header.php:32) in /var/www/virtual/planet-diesel/gallery/session.php on line 51

Warning: Unable to open '/var/www/virtual/planet-diesel/albums/album01/unknown.thumb.jpg' for reading: No such file or directory in /var/www/virtual/planet-diesel/gallery/platform/fs_unix.php on line 24
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Tue Aug 05, 2003 12:04 pm    Post subject: Re: Installed block got it working..sorta? Reply with quote

fluentdesigns wrote: › Warning: Unable to open '/var/www/virtual/planet-diesel/albums/album01/unknown.thumb.jpg' for reading: No such file or directory in /var/www/virtual/planet-diesel/gallery/platform/fs_unix.php on line 24


Your /albums/block-random.cache is wrong. Delete it, let the MOD generate a new one.

Nice lil' motorbikes BTW (is it you catching air?) Very Happy
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
fluentdesigns

User
User


Joined: Jul 31, 2003
Posts: 38

PostPosted: Tue Aug 05, 2003 12:19 pm    Post subject: Re: Installed block got it working..sorta? Reply with quote

LoL you werent suppose to see that site i was going to give url after I had all the errors fixed. That acually isnt the final url i ahvent decided on the name for this site so im using a temp one for now.

anyways down to two now!

Warning: Cannot send session cookie - headers already sent by (output started at /var/www/virtual/planet-diesel/header.php:32) in /var/www/virtual/planet-diesel/gallery/session.php on line 51

Warning: Cannot send session cache limiter - headers already sent (output started at /var/www/virtual/planet-diesel/header.php:32) in /var/www/virtual/planet-diesel/gallery/session.php on line 51
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Aug 05, 2003 1:08 pm    Post subject: Re: Installed block got it working..sorta? Reply with quote

ok, so in the block file you have
Code: › global $gallery;

right below the
Code: › <?php

line. do the same in the random_support.php file and see if it helps.

if not, open your php.ini file (usually in /etc/php4/php.ini) and find the entry for output_buffering. change it to On.
Back to top
Offline View user's profile Send private message Visit poster's website
fluentdesigns

User
User


Joined: Jul 31, 2003
Posts: 38

PostPosted: Tue Aug 05, 2003 6:01 pm    Post subject: Re: Installed block got it working..sorta? Reply with quote

What if the php.ini file cant be found? I found a php.ini.rpmnew file in the etc folder there isnt even a php4 folder in the etc
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Aug 05, 2003 7:37 pm    Post subject: Reply with quote

create a php file with the following code:
Code: ›
<?php
phpinfo();
?>


open this page in your browser, the first table will have the path to your php.ini file listed.
Back to top
Offline View user's profile Send private message Visit poster's website
fluentdesigns

User
User


Joined: Jul 31, 2003
Posts: 38

PostPosted: Tue Aug 05, 2003 7:42 pm    Post subject: Re: Installed block got it working..sorta? Reply with quote

Ok says its in this dir

****removed****

but all that is there is a folder named php

go in there.. no ini file.

contents of folder:

****removed****
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Aug 05, 2003 7:48 pm    Post subject: Reply with quote

that's not the right directory. here's mine:
Quote: ›
Configuration File (php.ini) Path /etc/php/apache1-php4/php.ini


if you have locate, just do a "locate php.ini"
Back to top
Offline View user's profile Send private message Visit poster's website
fluentdesigns

User
User


Joined: Jul 31, 2003
Posts: 38

PostPosted: Tue Aug 05, 2003 8:00 pm    Post subject: Reply with quote

gave me these two files

/etc/php.ini.rpmnew
/etc/php.ini.rpmsave
Back to top
Offline View user's profile Send private message
fluentdesigns

User
User


Joined: Jul 31, 2003
Posts: 38

PostPosted: Tue Aug 05, 2003 11:16 pm    Post subject: Re: Installed block got it working..sorta? Reply with quote

Ok turned on the output buffer

still getting these

Warning: Cannot send session cookie - headers already sent by (output started at /var/www/virtual/planet-diesel/header.php:32) in /var/www/virtual/planet-diesel/gallery/session.php on line 51

Warning: Cannot send session cache limiter - headers already sent (output started at /var/www/virtual/planet-diesel/header.php:32) in /var/www/virtual/planet-diesel/gallery/session.php on line 51
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Wed Aug 06, 2003 7:19 am    Post subject: Reply with quote

did you restart the apache server after you made the change?
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Goto page 1, 2, 3  Next

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filterWorld Meds Direct

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia