| Author |
Message |
|
|
I am using cpanel with the advanced php guestbook. When I try to edit the templates I receive these error messages
Warning: fopen(./templates/body.php): failed to open stream: Permission denied in /home/mytammy/public_html/memorial/lib/admin.class.php on line 180
Warning: fwrite(): supplied argument is not a valid stream resource in /home/mytammy/public_html/memorial/lib/admin.class.php on line 181
Warning: fclose(): supplied argument is not a valid stream resource in /home/mytammy/public_html/memorial/lib/admin.class.php on line 187
What should I do?
Thanks
|
 |
|
|
Hi cndgirl,
Sorry to hear you lost your guestbook. All looks a bit too complicated for me.
You said you had the guestbook up and running and problems occurred after installing a forum - I'm assuming problems occurred as soon as forum installed, i.e. there's a conflict between the two. Is forum working as it should be?
Can you determine which files, if any, have been amended or overwritten by the forum (from the 'last modified' info). This could help determine where the conflict lies. You could then reinstall the affected files using different names - you'd also have to update all links and references in other files to take account of the new names.
One other suggestion - was guestbook &/ forum supplied by webhosting company? If so, their tech support may be able to help. I use Yahoo and even though they say they don't supply support for third party software they often do if you ask nicely.
Sorry I can't help more - best of luck.
Trevor
|
 |
|
|
Hi Alphageddon,
Messages such as 'Thankyou for stopping by my site...' are contained in the file english.php in the lang sub-directory. Open the file and amend the text - I think it's BookMess6 you need to change (near the top of the page).
As for getting rid of smileys - open form.php in the templates sub-directory and comment out all the lines that add smileys, they'll look like this and there's several of them...
Also comment out the table attributes, i.e.
Good luck.
|
 |
|
|
Hi,
Check out this message - gives instructions for changing the drop down menu...
http://proxy2.de/forum/viewtopic.php?t=2867&sid=bd9b313fbd0c759f0783692f056ed870
Regards,
Trevor
|
 |
|
|
Hi there,
I am using the guestbook at present version 2.2 . However I am wanting to add a couple of links to the jump menu that appears in the guestbook and do not know how to do this.
The script is as follows:
<form method="post" action="index.php">
<table border="0" cellspacing="0" cellpadding="2" align="center" width="$VARS[width]">
<tr>
<td width="56%"><img src="img/logo.gif" width="225" height="42"></td>
<td width="44%" align="right" class="font2"><img src="img/signing.gif" width="90" height="30" border="0"> <br>
<img src="img/sign.gif" width="9" height="12"> <a href="addentry.php"><b>$LANG[BookMess3]</b></a>
<b>| <img src="img/lock.gif" width="9" height="11"> <a href="admin.php">$LANG[BookMess5]</a></b>
</td>
</tr>
<tr>
<td width="56%" class="font2">$TPL[GB_TIME]<br>$LANG[BookMess6]</td>
<td width="44%" valign="bottom" align="right">
<!--Start JumpMenu -->
$TPL[GB_JUMPMENU]
<!--End JumpMenu -->
</td>
</tr>
</table>
<!--Start Top Navigation -->
<table width="$VARS[width]" border="0" cellspacing="0" cellpadding="2" align="center">
<tr valign="bottom">
<td class="font2"><img src="img/point3.gif" width="9" height="9">$LANG[NavTotal]
<b><font color="#DD0000">$TPL[GB_TOTAL]</font></b> $LANG[NavRecords] <b><font color="#DD0000">$VARS[entries_per_page]</font></b></td>
<td align="right" class="font2"> $TPL[GB_NAVIGATION]
</td>
</tr>
</table>
<!--End Top Navigation -->
<table border="0" cellspacing="1" cellpadding="5" align="center" width="$VARS[width]" bgcolor="$VARS[tb_bg_color]">
<tr bgcolor="$VARS[tb_hdr_color]">
<td width="32%"><font size="2" face="$VARS[font_face]" color="$VARS[tb_text]"><b>$LANG[FormName]</b></font></td>
<td width="68%"><font size="2" face="$VARS[font_face]" color="$VARS[tb_text]"><b>$LANG[BookMess7]</b></font></td>
</tr>
<!--Start Guestbook Entries -->
$TPL[GB_ENTRIES]
<!--End Guestbook Entries -->
</table>
<!--Start Bottom Navigation -->
<table width="$VARS[width]" border="0" cellspacing="0" cellpadding="2" align="center">
<tr valign="top">
<td class="font2"><img src="img/point2.gif" width="9" height="9">$TPL[GB_HTML_CODE] </td>
<td align="right" class="font2"> $TPL[GB_NAVIGATION]</td>
</tr>
</table>
</form>
<!--End Bottom Navigation -->
I am wanting to put a few links into it so it is more interactive with my site. I have found the beggining of the jumpmenu and the end but have no clue as to what i need to insert or anything. Further more the guestbook is in a different root folder to the web pages.
Could someone help me please?
Please email at tomspcs@tomspcs.plus.com
All the best Tom.
|
 |
|
|
|
Oh they're at the bottom of the page? Cool, I'll try it. I'm using an online editor on my server as well.
|
 |
|
|
How do I change the following header information?
"Thank you for stopping by my site. Here you can leave your mark."
I want to change the word my to our...
Also how do I remove the Emoticons section from my Advanced Guestbook? I don't want the smileys on my page.
Thanks for the help
|
 |
|
|
|
I understand the space problem, but in the message that I posted about the problem I was having, if I delete ONE letter in a certain line, and ther is definately no space, I get the error.
|
 |
|
|
|
There are two very nasty vulnerablities, one uses the index.php to overwrite an index.html and the other gives full access to admin rights on the Guestbook, having e-mailed the authors of the Guestbook over three days ago and received no response I wonder if there is any actual support for these Guestbooks and what is going to be done about such vulnerabilities?
|
 |
|
|
Auron:
I did not meant to offend you. Your guide is a pretty good guide for all of them including the newbies who are in the WAMP platform.
I am not here to argue. I wish if someone (including the Adv. Poll designer) specify which files need which chmod. In my case all files and templates got 700.
And I am concerned about rendering the images (the very 'key' image on the login screen to other images in the control panel.)
Thanks!
|
 |
|
|
This is a common (and quite annoying) error in PHP. It's caused by leading or trailing space characters in a PHP file, e.g.
{space}<?php
?>{space}
The tricky part: sometimes the spaces are obvious, sometimes they're not! For example, I've converted a language pack to UTF-8. Everything works fine except that I now get this error. Searching and destroying spacs has been a pain. I think it has to do with the re-encoding process or the particular editor I use (Ultraedit) -- not entirely sure which.
|
 |
|
|
hi evrybody im trying to fix my comment text length what happens is that somebody learned that if u type somthing like this "LLLLLLLLLLLLLLLLLLL" without space view comments looks messy it brakes the template and and looks long how can i fix this isue.\
im using adv poll 2.02
thanx alot
|
 |
|
|
hrmm, i dont think so...
anyway, thanks !
|
 |
|
|
Im getting the same error, except I CAN modify "Guestbook" to say something else. It's when I edit the email subject or anything else that I get the error.
I posted a message but apparently no one knows the answer yet.
|
 |
|
|
|
hey, does this script has a troyan code or something that can affect your webpage?!
|
 |
|
|