urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
azeemgujjar
Forum Newbie
Posts: 9
Joined: Wed Oct 15, 2008 3:18 am

urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Post by azeemgujjar »

i am trying my best to focus the error in code but i still did't find :banghead:

i attached the source which i found from
http://www.php-mysql-tutorial.com/image-gallery/

i use this config
// we save the album image here
define('ALBUM_IMG_DIR', '../images/album/');
// all images inside an album are stored here
define('GALLERY_IMG_DIR', '../images/gallery/');

it is saving thumbs correctly but i can't view the images thumbs in admin or user section the missing image crossed icon is displaying...
please help me to trace to bug :banghead:
Attachments
image-gallery.zip
(21.39 KiB) Downloaded 20 times
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Post by alex.barylski »

:banghead: :banghead: :banghead:

Harder...harder...the answer will come to you shortly. :P
azeemgujjar
Forum Newbie
Posts: 9
Joined: Wed Oct 15, 2008 3:18 am

Re: urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Post by azeemgujjar »

plzzzzz somebody help me
azeemgujjar
Forum Newbie
Posts: 9
Joined: Wed Oct 15, 2008 3:18 am

Re: urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Post by azeemgujjar »

this is really strange the gurus of php is also failed to solve this problem...
i am shocked...
yoji
Forum Commoner
Posts: 25
Joined: Sun Oct 19, 2008 3:09 am

Re: urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Post by yoji »

Why don't you do this... View the source of the page which shows the images are missing... Not the php code but the HTML. Check the location of the images there. It might give you the clue. As far as attachment is concerned sorry but the project is quite big...
azeemgujjar
Forum Newbie
Posts: 9
Joined: Wed Oct 15, 2008 3:18 am

Re: urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Post by azeemgujjar »

hello friend, i already tried my best but i didn't find, i think is with viewimage.php but not sure...
i am not expert, that's why i am discussing this problem to you experts.
please help me
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Post by JAB Creations »

99% of problems I encounter involve an error message.

Additionally your approach here in the forums to resolving the problem is as wrong as can be.

Allow me to reduce your ignorance on the subject...

1.) Your title screams noob who just wants a fast answer without the intention of learning.

2.) DevNetwork on average produces most of the fastest responses.

3.) If (as I have learned) I make the effort to detail everything I can about a specific problem I generally get a helpful reply.

4.) If your issue is urgent expect to pay someone for their time. This is a free forum and no one is remotely interested in solving everyone's problems for free.

5.) I don't typically answer threads like this for good reason. Once your post count goes up though much more importantly once your post threads with specific problems detailing what you have attempted with quoted code then you'll be much more likely to receive helpful responses. Additionally many threads find answers without the need for the gurus though the gurus do a pretty dam good job helping people out I must add.

You may want to consider emulating more successful threads to determine the formula which is highly likely to produce helpful responses.

PS I am not subscribed to this thread.
azeemgujjar
Forum Newbie
Posts: 9
Joined: Wed Oct 15, 2008 3:18 am

Re: urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Post by azeemgujjar »

strange finally no one knows the solution
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Post by papa »

Change your attitude a little bit and you might get help.

Your admin and user section, try play around with the src= tag of the images you want to display in those documents...
jarnail
Forum Newbie
Posts: 7
Joined: Thu Oct 30, 2008 8:44 am

Re: urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Post by jarnail »

All know that it is not big problem but need code to resolve.
kernelgrl
Forum Newbie
Posts: 4
Joined: Thu Oct 30, 2008 9:50 pm

Re: urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Post by kernelgrl »

like somebody else said, its big, so ill check on this tomorrow night, and see what I can find, but most of the times, its simply the image extension or a stupid missing comma or dot! you might check that also since you wrote all that, ill get back to you tomorrow!
User avatar
novice4eva
Forum Contributor
Posts: 327
Joined: Thu Mar 29, 2007 3:48 am
Location: Nepal

Re: urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Post by novice4eva »

in library/config.php although you have said using

Code: Select all

 
define('ALBUM_IMG_DIR', '../images/album/');
// all images inside an album are stored here
define('GALLERY_IMG_DIR', '../images/gallery/');
 
there was

Code: Select all

 
define('ALBUM_IMG_DIR', 'C:/webroot/gallery/images/album/');
// all images inside an album are stored here
define('GALLERY_IMG_DIR', 'C:/webroot/gallery/images/gallery/'); 
 
using this gave me the correct output in my local comp

Code: Select all

 
define('ALBUM_IMG_DIR', '../image-gallery/images/album/');
// all images inside an album are stored here
define('GALLERY_IMG_DIR', '../image-gallery/images/images/gallery/'); 
 
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Post by pickle »

Many of the gurus are probably skipping this thread:
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Re: urgent plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Post by panic! »

azeemgujjar wrote:this is really strange the gurus of php is also failed to solve this problem...
i am shocked...

OH NO MY ABILITY HAS BEEN QUESTIONED!?! I MUST PROVE MYSELF 2U PLZ
Post Reply