Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Developers:
Added new module, image.php not working any more
GiorgioSlump



Joined: 16 Mar 2006
Posts: 734

Posted: 10/28/09 13:29 
Hi there
I added a new module according to jamroom hel, I took the package and changed it to my module needs, after I put the folder to my modules directory, image.php does not show any image. I checked the setting in config folder, and the permissions are 0777 and 0666
Can you tell me what is going on?

Back to top
SteveX
Ultrabubble


Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble

Posted: 10/28/09 16:10 
It is probably a php error in your module image.php

Anything in your php error log?


_________________
Kulshi Mezian!

"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"

Ultrabubble create things.
Back to top
GiorgioSlump



Joined: 16 Mar 2006
Posts: 734

Posted: 10/28/09 16:14 
I don't have a image.php in my module, isn't it optional?

Back to top
SteveX
Ultrabubble


Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble

Posted: 10/28/09 16:28 
Yes, it is optional.

I had a similar problem recently. After many hours of looking I found that the reason for all artist and item images disappearing was because of whitespace after the closing php tag ?> in my module include.php file.

Check that you have no returns after the ?> in that file, and possibly in other module files as well.

Brian is looking into adding some code so that this doesn't happen.


_________________
Kulshi Mezian!

"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"

Ultrabubble create things.
Back to top
GiorgioSlump



Joined: 16 Mar 2006
Posts: 734

Posted: 10/28/09 16:35 
I checked all my php files in that module, and I deleted all the spaces after ?> but nothing changed.

Back to top
SteveX
Ultrabubble


Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble

Posted: 10/28/09 16:45 
Check not just for spaces, but for new lines - I found that one new line after ?> was ok, but 2 new lines = no images from image.php

Your problem sounds so similar that I am sure this must be the answer.


_________________
Kulshi Mezian!

"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"

Ultrabubble create things.
Back to top
GiorgioSlump



Joined: 16 Mar 2006
Posts: 734

Posted: 10/28/09 16:47 
After I delete the new lines and spaces, should I rebuld sth, or reset the server or anyrthing else? because I am not getting any result.

Back to top
GiorgioSlump



Joined: 16 Mar 2006
Posts: 734

Posted: 10/28/09 16:52 
Heyyyyyyyyyyyyyyyy! It's working!
Thanks, You are the one!

Back to top
SteveX
Ultrabubble


Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble

Posted: 10/28/09 16:53 
Cool, glad to be of help Very Happy


_________________
Kulshi Mezian!

"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"

Ultrabubble create things.
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Developers

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.