If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Problems with images . . .  XML
Forum Index » Support Forum
Author Message
Anonymous



Okay I have an Advanced Guestbook 2.3.1 that I installed with cpanel here: www.thirtysilverpieces.net/gb/index.php. It works fine, I can edit the templates in the admin.

I've tried manually installing the guestbook on a subdomain for a friend of mine. However, I cannot get the images to appear while images from the main site appear just fine. http://eric.thirtysilverpieces.net/index.html
I checked to see if it could just be the format of the location link but I tried to get an image to appear on the index page for the subdomain and I can't seem to get it to work. Secondly, even though I've granted write permission to the public and tmp files, I am not able to edit the templates in the admin panel.

I could really use some help with this. I've tried to find it in other posts. Thanks for your time.
JTD
Graduate

Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline

You have to edit those files that are in the templates page list below.manually plus you will need acces to his phpmyadmin in his cpanel. You will have to create the database by hand. all those must be either 755 or 777.
PS I also see you want to do something with your jump menu. Here is how to fix it up with any link you want.

Trevor wrote:Hi Mastersmurfie,

I had a look at your guestbook.html script and it looks like you've got a bit of script missing.

Try this - open gb.class.php (in the lib sub-directory) and scroll down to where it says...
function generate_JumpMenu() {

My guess is that the next line is either...
$menu_array[] = "<select name=\"entry\" class=\"select\">";

or it's
$menu_array[] = "<option value=\"www.faithtabernacleupc.net" class=\"select\">Home Page</option>";

If that's the case then you need to make a small change. Find this again...
function generate_JumpMenu() {

Make the following changes, the blue is already part of the script and doesn't need changing, it's the bit in red that you need to make sure is included.
function generate_JumpMenu() {
$menu_array[] = "<select name=\"entry\" onChange=\"urlJump('self',this)\" class=\"select\">";
$menu_array[] = "<option value=\"http://www.faithtabernacleupc.net\" class=\"select\">Home Page</option>";
$menu_array[] = "<option value=\"0\" selected>".$this->db->LANG["FormSelect"]."</option>";

This should add a link to your home page. I've tested it on my site and it works fine. (note the backslash at the end of the URL - important).

With this menu you don't need to click the 'go' button, once you click a heading from the drop down list you're taken straight to the page. You may want to get rid of the 'go' button, look for the following line of text and delete it (it's a few lines further down)...
$menu_array[] = "<input type=\"submit\" value=\"".$this->db->LANG["FormButton"]."\" class=\"input\">";


I hope that helps.

Regards,

Trevor


admin_enter.php
- body.php
- entry.php
- error.php
- form.php
- preview.php
- preview_entry.php
- header.php
- footer.php
- icq.php
- url.php
- aim.php
- com.php
- email.php
- success.php
- form_icq.php
- form_aim.php
- form_gender.php
- form_image.php
- com_pass.php
- comment.php

LINK-> Use Lazarus Guestbook
[WWW] [Yahoo!] aim icon [MSN]
Anonymous



Okay I think it would be helpful to post the site where the guestbook is located.

http://eric.thirtysilverpieces.net/guestbook/index.php

And it should be that you won't see images anywhere. I've tried to change at least one link manually in Dreamweaver and it should have resulted in appearing from the right folder -- though it seems that the initial links in the templates are correct . However, if you look on the index page above, I tried to get an image to appear on that page from the guestbook/img folder and nothing.

Now everything else seems to be in working order. I don't know if this is a problem but my FTP software is set for the main domain. I granted write permissions in a folder in that domain so instead of eric.thirtysilverpieces.net it was thirtysilverpieces.net/eric. I don't know if that makes a difference or not?

Secondly, since the software is installed manually does that mean I can't edit those php files in the admin panel, like I can in the one on the main site? Or do I need to do something to those files to make them edittable?
All the directories in eric.thirtysilverpieces.net have been granted write permissions to chmod 777.
Trevor
Student
[Avatar]

Joined: 17/06/2004 02:53:11
Messages: 67
Location: UK
Offline

Hi,

I don't know but maybe the problem with the images is that you've got a sub-domain and it's screwing with the base_url. Have you tried manually linking instances of <img src =xxxxx>?

I'm getting permission errors but you said you've got them all set to 777!

This is what I get when I add an entry (which included a picture)...

Warning: unlink(index.html): Permission denied in /home/aestar/public_html/eric/guestbook/lib/add.class.php on line 80

Warning: copy(/home/aestar/public_html/eric/guestbook/public/img-1088836559.jpg): failed to open stream: Permission denied in /home/aestar/public_html/eric/guestbook/lib/add.class.php on line 161

Warning: getimagesize(/home/aestar/public_html/eric/guestbook/public/img-1088836559.jpg): failed to open stream: No such file or directory in /home/aestar/public_html/eric/guestbook/lib/add.class.php on line 258
Guestbook
.

About changing the drop down menu - the quote from one of my other posts won't work, it was a fix for someone who was already part way there. Try this instead... <<<http://proxy2.de/forum/viewtopic.php?t=3315>>>

Like to help more but you've got some weird stuff going on and apart from the above - it's beyond me.

Hope you get it sorted.

Trevor
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Well this is interesting . . . if I enter the field as

http://www.thirtysilverpieces.net/eric/guestbook/index.php

The images work fine. Bizarre. Oh well, I'll just let my friend know when he links it it will have to be that way. As well as linking any images on it.

So any ideas on what's up with the editting templates feature? Or is it best that I don't try to mess with it since I can edit it in Dreamweaver or with an FTP program?
Anonymous



Oh well I'm scrapping the subdomain guestbook -- I guess since it's not a folder in the top directory it glitches. Thanks for trying though.
JTD
Graduate

Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline

Well this isnt working either now. I am getting the 404 error The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

http://www.thirtysilverpieces.net/eric/guestbook/index.php

LINK-> Use Lazarus Guestbook
[WWW] [Yahoo!] aim icon [MSN]
Anonymous



Heh heh oops. Yeah I killed the project.

Instead of having it on the subdomain, since I'm guessing that the subdomain references as a non-top directory folder, it just doesn't work. When I try to do the instally in cpanel like that, it just screams at me that it isn't possible.

I just thought that the subdomain would have it's own top level directories but I guess it's not the case. Anyways. sorry about that.
Ignatius
Beginner

Joined: 25/12/2003 06:49:24
Messages: 41
Offline

Yep. It won't work unless it's in a top level domain. cPanel tells you this in the install screen, but the example it shows isn't a subdomain, so maybe it isn't clear enough.
Anonymous



type about:config in your location bar do a filter for browser.display.show_image.placeholders toggle to false
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

guest wrote:type about:config in your location bar do a filter for browser.display.show_image.placeholders toggle to false
OK it's official, you aer a moron. Same post in 5 threads. I'm going to delete the others.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Ignatius
Beginner

Joined: 25/12/2003 06:49:24
Messages: 41
Offline

What a load of gibberish...

It's a pain in the ass to have to pull all those posts, but it is kinda funny.

Kinda.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

They ended up putting the same post in about 10 threads. Wouldn't be so bad but their instructions only apply to Mozilla/Firefox (about 10% of internet users) and had nothing to do with most of the threads problems.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum