help! almost done configuring
|
scottyandpear
![]()
Joined: 2003-01-15
Posts: 12 |
Posted: Fri, 2003-01-17 00:35
|
|
im having these problems.. when running gallery from my browser can anyone give me some advice how to correct these problems... Notice: Undefined variable: GALLERY_BASEDIR in c:program filesapache groupapachehtdocsmp3pjgongallery1.33albums.php on line 30 Warning: Cannot send session cookie - headers already sent by (output started at c:program filesapache groupapachehtdocsmp3pjgongallery1.33albums.php:30) in c:program filesapache groupapachehtdocsmp3pjgongallery1.33session.php on line 51 Warning: Cannot send session cache limiter - headers already sent (output started at c:program filesapache groupapachehtdocsmp3pjgongallery1.33albums.php:30) in c:program filesapache groupapachehtdocsmp3pjgongallery1.33session.php on line 51 thanks ------ |
|


Posts: 8194
FAQ C.10
Posts: 12
i have already changed that line in the php.ini file...
and it reads correctly from 4.20
Posts: 8194
Did you restart apache?
Posts: 12
yup
Posts: 8194
Well, you didn't do something right..from phpinfo()
error_reporting 2047 2047
As you'll see here : http://php.net/error_reporting : 2047 = E_ALL (all errors [notices included]). Unless you're debugging, notices are usually not necessary to display.
Posts: 12
i dont understand... what im doing wrong
http://mp3pjgon.ma.cx/gallery1.33/setup/phpinfo.php
that is my phpinfo file and it looks like its working...
i looked on php site but i didnt understand the link...
p.s. thanks for you help ive been working on this for 2 days now...
Posts: 8194
Add this to your .htaccess file in the Gallery directory (you'll have to add it every time you re-run the configuration wizard)
php_value error_reporting 2039
Posts: 12
joy,
after i reconfigure the album from index.php and i run thru the installation and i save the configuration it goes to the albums.php page... at top are the errors... then after i noticed the rrors i should log off the album page then edit the .htaccess file in the gallery directory to read this???
php_value post_max_size 20971520
php_value upload_max_filesize 20971520
php_value magic_quotes_gpc off
php_value error_reporting 2039
or just this php_value error_reporting 2039
scotty
Posts: 8194
Just add the line, don't override everything in it.
Posts: 12
joy,
i noticed this in the index.php page....
Warning!
Either mod_rewrite is not installed or your .htaccess file is not enabled (see above). Either way, we'll have to use longer URLs in the Gallery. If you want to turn it on I'd suggest that you make sure that your .htaccess file works and then if it still doesn't work you may need to reconfigure and rebuild Apache with this flag:
--enable-module=rewrite
is this important??
also... after i close the window of the albums.php i need to edit the .htaccess in what folder... the setup folder... or the main folder in the gallery folder...
scotty
Posts: 8194
No, not really...It looks like your Gallery is working to me
http://mp3pjgon.ma.cx/gallery1.33/index.php
Looks pretty good...
Posts: 12
can i leave the gallery unsecure after i hit save.. or should can i leave it unsecure? because i have to edit the .htaccess file
do i edit the .htaccess file in the gallery folder or in the setup directory?? after i close out the album.php file
this is what im goin to install the file
php_value post_max_size 20971520
php_value upload_max_filesize 20971520
php_value magic_quotes_gpc off
php_value error_reporting 2039
then im gon to restart apache.. then try to go to the album.php file
scotty
Posts: 8194
OK, have you run the configuration wizard all the way through?
Once you've completed the configuration wizard, put Gallery in secure mode (read the README). Edit the .htaccess, add the line, and you should be set.
Edit the .htaccess in the main Gallery folder, not in the setup/ directory.
You really don't need to restart Apache...
Posts: 12
joy,
yes that worked... but i have 2 problems..
i cant login from my machine ... friends can login but from another location....
it says it cant find /gallery/login.php although the file is in the directory of the gallery
then from people loged into my album and couldnt add pictures.. this is the error they got...
Error: Unable to make thumbnail (0)!
do you got any ideas??
pj
Posts: 8194
All right, I can get to the login screen fine.
For the thumbnail error, you will need to put Gallery into debug mode (config option) for us to solve that error.