Welcome, Guest. Please Login or Register.
April 19, 2024, 11:16:43 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod « previous next »
Pages: 1 ... 21 22 [23] 24 25 ... 49 Reply Ignore Print
Author Topic: [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod  (Read 334122 times)
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #330 on: March 04, 2003, 10:38:58 PM »
Reply with quote

Quote from: Zombie on March 04, 2003, 03:55:06 PM
I'm still having problems uploading pics.  
I tried setting the full path, but nothing changed.
I still get a blank page after clicking upload.

Maybe removing the '.' did something?
But If I leave the '.' in, I get parse errors and the mod won't run. ???



http://www.swja.net/yabbse/gallery/

I had to rmove the "." also to get rid of the parse errors, but it hasn't caused any other problems.  I'm running PHP 4.2.1
Logged
Nerd3d
Full Member
***
Posts: 107


Happy Rendering

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #331 on: March 04, 2003, 11:05:48 PM »
Reply with quote

Yordy, your problem may be that the owner of the config file is changed (wrong). If the PhP process runs under a different user than the FTP you may not be able to delete the file (or change it) the only way I know of to fix this is to connect via telnet or SSH, logged in as root and delete the file that way. (Or chown the file to the FTP user)

chown command refrence

Free SSH client

If this is the problem and you don't have root access you may have to ask your ISP to delete the file or chown it for you.

P.S. This is a Linux/Unix thing this wouldn't apply to a Win32 server
Logged
smacktalk
Full Member
***
Posts: 236


No Personal Text!!

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #332 on: March 04, 2003, 11:44:57 PM »
Reply with quote

I cant get past this:

Could not create a mySQL connection, please check the SQL values entered

MySQL error was : Access denied for user: '*****@*****' (Using password: YES)
Logged

As a well-spent day brings happy sleep, so a life well spent brings happy death.
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #333 on: March 05, 2003, 12:27:57 AM »
Reply with quote

@ smacktalk: u should install the gallery in a subdirectory (prefered directory name is 'gallery') of the forum so it can find Settings.php in its parent directory

@ dschwab9: u're the 2nd person that reported this, a temporary fix is to change the $db_prefix . "gallery_album" into: "yabbse_gallery_album" (where yabbse_ is your db prefix)
i'll try to look into this issue again later...

@ Yordy: u cant even delete config.inc.php via FTP or your windows browser?
i dont know much about setting permissions in a windows server though... i know in *nix server, u'll need to have the file CHMOd 666 to be able to modify it via php
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
babylonking
Full Member
***
Posts: 174


Proudly Canadian

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #334 on: March 05, 2003, 01:04:46 AM »
Reply with quote

am getting this error:

There was an error while processing a database query.
You can try to refresh the page by clicking here.

Error Returned

mySQL error: You have an error in your SQL syntax near '' at line 1
:-\

need help ? anyone!

Logged

Proudly Canadian          
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #335 on: March 05, 2003, 01:07:56 AM »
Reply with quote

when did u get that message? when installing or doing something else?
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
babylonking
Full Member
***
Posts: 174


Proudly Canadian

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #336 on: March 05, 2003, 01:15:45 AM »
Reply with quote

when i click on (gallery , Album List , Latest Uploads)
i get that error .........Gallery Settings link working fine but when i save changes i get this erorr.

While executing query "INSERT INTO  (aid, title, description, uploads, date) VALUES ('', 'babylon', '', 'YES', NOW())"

mySQL error: You have an error in your SQL syntax near '(aid, title, description, uploads, date) VALUES ('', 'babylon', '', 'YES', NOW()' at line 1


Logged

Proudly Canadian          
JRCarr
Jr. Member
**
Posts: 72


The Jack of all Trades and the Master of None.

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #337 on: March 05, 2003, 02:32:07 AM »
Reply with quote

Spaceman-Spiff, I found the problem of a non-admin user not being able to delete their own comments.  In the delete.php file the following section:
   case 'comment':
      if ($AUTHORIZED){
         $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$HTTP_GET_VARS[id]'";
      } else {
         $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$HTTP_GET_VARS[id]' and author_id='$username'";
      }
Needs to have the variable in the "else" changed from "author_id" to msg_author".  The yabbse_gallery_comments Table contains the field msg_author not author_id.  Hope this helps any one else that have the problem.

Jack
Logged

Jack
smacktalk
Full Member
***
Posts: 236


No Personal Text!!

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #338 on: March 05, 2003, 02:44:36 AM »
Reply with quote

Quote from: Spaceman-Spiff on March 05, 2003, 12:27:57 AM
@ smacktalk: u should install the gallery in a subdirectory (prefered directory name is 'gallery') of the forum so it can find Settings.php in its parent directory

I have it installed at www.myserver.com/forum/gallery
Logged

As a well-spent day brings happy sleep, so a life well spent brings happy death.
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #339 on: March 05, 2003, 03:06:04 AM »
Reply with quote

thx jack for the fix :)

smacktalk, could u pls send me your url, so i can see the error msg, just IM me if u dont wanna give it out to public
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
smacktalk
Full Member
***
Posts: 236


No Personal Text!!

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #340 on: March 05, 2003, 03:15:22 AM »
Reply with quote

Quote from: Spaceman-Spiff on March 05, 2003, 03:06:04 AM
thx jack for the fix :)

smacktalk, could u pls send me your url, so i can see the error msg, just IM me if u dont wanna give it out to public

Done. thanks
Logged

As a well-spent day brings happy sleep, so a life well spent brings happy death.
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #341 on: March 05, 2003, 10:20:33 AM »
Reply with quote

Quote from: Spaceman-Spiff on March 05, 2003, 12:27:57 AM
@ dschwab9: u're the 2nd person that reported this, a temporary fix is to change the $db_prefix . "gallery_album" into: "yabbse_gallery_album" (where yabbse_ is your db prefix)
i'll try to look into this issue again later...

Spaceman, I don't use a database prefixe for yabbse, my tables are simply "members", "messages", etc.
Could it be that the script can't handle a lack of db prefix?  ie: even if there is no prefix, something gets appended to the querries.
In my case, just deleting the dots made it work.
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #342 on: March 05, 2003, 10:53:46 AM »
Reply with quote

the problem must've been in the installer then... :(
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #343 on: March 05, 2003, 11:17:55 AM »
Reply with quote

Quote from: Spaceman-Spiff on March 05, 2003, 10:53:46 AM
the problem must've been in the installer then... :(

The tables were created correctly, though.
Logged
Yordy
Noobie
*
Posts: 40


Dekroeg!

ICQ - 96762844Yo_rdy@hotmail.com WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #344 on: March 05, 2003, 11:23:51 AM »
Reply with quote

Quote from: Nerd3d on March 04, 2003, 11:05:48 PM
Yordy, your problem may be that the owner of the config file is changed (wrong). If the PhP process runs under a different user than the FTP you may not be able to delete the file (or change it) the only way I know of to fix this is to connect via telnet or SSH, logged in as root and delete the file that way. (Or chown the file to the FTP user)

chown command refrence

Free SSH client

If this is the problem and you don't have root access you may have to ask your ISP to delete the file or chown it for you.

P.S. This is a Linux/Unix thing this wouldn't apply to a Win32 server

I think you are right.
The host indeed runs a Linux server with Apache.
Damn, you guys are helpfull, thanks  :)
I will try to use tellnet or SSH to change it.
Thanks again.
Logged
Pages: 1 ... 21 22 [23] 24 25 ... 49 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.080 seconds with 20 queries.