|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
I had these working in many of the forums and went to make a change on one and got an error. Now none of the Option to display these islands in between posts is working.
They only work on columns and not between post????
Please any advice would b great!
Thx Mike
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
What is the full content of the island you are having problems with?
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
/* BODY HERE */ $body = <<<EOF Panasonic Search <div style="width:637px; height:25px"> <form action="http://www.usedphones.com/catalogsearch/result/?" method="get" target="_blank"> <input type="text" name="q"> <input type="submit" value="Submit Search"> </form> </div> EOF;
this code works, but not in between post it does not?
|
|
|
|
Joined: Dec 2003
Posts: 6,628 Likes: 85
|
Joined: Dec 2003
Posts: 6,628 Likes: 85 |
Well the syntax looks correct. Although the width is extremely large for a side island. Not knowing what forum you used it in. Can you provide a url link to the forum it should appear in? Does a ad show at all? Did you select the island in custom inserts for the forum? Did you enable viewing ads in the forum permissions also?
FYI, I do see a google search ad island in most of the forums.
Last edited by Ruben; 02/11/2015 4:48 PM. Reason: Added Comment
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
http://sundance-communications.com/forum/ubbthreads.php/forums/5/1/Avaya_-_Lucent/* BODY HERE */ $body = <<<EOF Avaya Nortel Search <div style="width:637px; height:25px"> <form action="http://www.usedphones.com/catalogsearch/result/?" method="get" target="_blank"> <input type="text" name="q"> <input type="submit" value="Submit Search"> </form> </div> EOF;
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
Does there happen to be any data after "EOF;" (spaces, lines, anything)?
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
I will check them all, as I think if one does it breaks the whole chain of all customs right?
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
Tip Custom islands start from the lowest number first or top down. Disable them may be a easier way to find the source of the problem.
Even turn them all off and see if the problem exists.
And when checking the code in the custom islands scroll down sometimes there is a line off screen and you dont see the scroll bars for looking.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
Dumb question but how do you disable them?
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
I checked all 30 to see if there was any space/code after the last line and there was not.
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
Sorry i was thinking about the main portal settings, but you have them in various places.
Ok Open a text document, copy and paste.
Save the changes to the custom island.
ctrl+f5 on you forum to see if you get the error.
No error put it back and move on to the next one.
Its a needle in a hay stack but its the only way your going to get to the answer.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
I had these working in many of the forums and went to make a change on one and got an error. Now none of the Option to display these islands in between posts is working.
They only work on columns and not between post????
Please any advice would b great!
Thx Mike If you only made the change on one of the islands then you can start with that code. I have islands between posts and mine are working fine 7.5.8 Ive just visited this forum Click me and i can see and advert on the left side. Rotating images.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
If you can not see it when logged in then its a permissions thing with the forum settings via the control pannel. I'm not registered but i can see that advert.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
Yesterday no Permissions Checks problems but today I have cache_builders/custom (FAIL)
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
If there is additional data after the eof; it can break the island; it shouldn't break them all though.
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
I guess now that I have this new problem I should fix it first but don't know what exactly to do other that to reboot the server?????
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
Yes it is breaking them all, I have messed with a couple of them now so I am not sure which one is going nuts.
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
If I put the the custom in a Portal Layout they all seem to work just fine in that config
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
cache (OK) cache_builders/custom (FAIL) portal_box_42.php FAIL portal_box_45.php FAIL portal_box_43.php FAIL portal_box_39.php FAIL Directory Check OK portal_box_44.php FAIL portal_box_52.php FAIL portal_box_40.php FAIL portal_box_54.php FAIL portal_box_4.php FAIL portal_box_6.php FAIL portal_box_46.php FAIL portal_box_47.php FAIL portal_box_48.php FAIL portal_box_10.php FAIL portal_box_50.php FAIL portal_box_3.php FAIL portal_box_2.php FAIL portal_box_9.php FAIL portal_box_51.php FAIL portal_box_7.php FAIL portal_box_53.php FAIL index.html OK portal_box_57.php FAIL portal_box_55.php FAIL portal_box_49.php FAIL portal_box_.php FAIL portal_box_41.php FAIL portal_box_56.php FAIL portal_box_8.php FAIL portal_box_5.php FAIL portal_box_1.php FAIL portal_box_58.php FAIL
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
Use a different browser to check your permissions, i dont know why but chrome has been playing up. I can use IE and get a clean slate.
Permissions i meant Control pannel
Forum Permissions > Must view Ad Island
see what you have set there so who can see them.
Unless you give us as link to a section we can see with the blank we cant help as i can see your advert or am i missing something.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
ok I will get right back to you
in the mean while here is code that is working in the Portal
<?php /* PHP CODE HERE */
/* BODY HERE */ $body = <<<EOF <div style="width:300px; height:25px"> <form action="http://www.usedphones.com/catalogsearch/result/?" method="get" target="_blank"> <input type="text" name="q"> <input type="submit" value="Submit"> </form> </div> EOF; ?>
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
cache_builders/custom (FAIL)
in FireFox as well
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
if I reboot the server will if fix the fail?
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
It'll fail in every browser, it's checking the permissions on the webserver for that folder; it's saying that the folder isn't chmodded 777.
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
Default Custom island code $body = <<<EOF
Body of the custom box here
EOF;
Notice NO php tags <?php php?> Yours above has when it works and does not when its broken. I dont have php tags in my custom islands.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
When I reboot will it reload the files and clear the fail?
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
It'll fail in every browser, it's checking the permissions on the webserver for that folder; it's saying that the folder isn't chmodded 777. Sorry G i get mixed results. it even hangs the page in chrome waits about 10 seconds and then gives me the rest of the results. IE displays instantly, and green. Not pinned down the cause and put it down to chrome version. Its possible.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
When I reboot will it reload the files and clear the fail? I would ftp in and check the file permissions on a few files first. Change 1 and check permissions again. No need to reboot just yet. As you may find the cause also. After Thought. Check the change log in the control panel just to make sure someone has not change the View Ads permissions with out your knowledge.
Last edited by Mark S; 02/12/2015 4:09 PM.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
I checked this one that has a fail, UBB\custom2\portal_box_42.php
and the perm is set to Allow Full control
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
I checked on ftp and see Owners checked for read and write but not execute Group read only Public Read only
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
maybe I am over thinking this,
<?php /* BODY HERE */ $body = <<<EOF <!--Begin ClixTrac.com Banner Code --> <a href="http://www.clixtrac.com/banner/click.php?banner=177648" target="_blank"> <img src="http://www.clixtrac.com/banner/177648.gif" alt="Cell Phone Repair" title="Cell Phone Repair" border="0" /></a> <!--End ClixTrac.com Banner Code --> EOF; ?>
is this the problem ?> having this after the EOF; or this at the top <?php
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
When I open the file in notepad I do not get that code only in dreamweaver sry.
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
remove the tags in custom island box after you paste it in.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
you are correct I just tried for the first time today to copy the default code into the udd control and I got this, cache_builders/custom/portal_box_41 is not writeable. You will either need to change the permissions on this file or edit it by hand.
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
I fixed the permission on 41
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
I guess all need to be checked read write execute for owner, group and public
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
According to the install docs, all folders need to be chmodded 777, all files 666.
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
Not quite clear how or where your changing your permissions.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Aug 2012
Posts: 113
member
|
member
Joined: Aug 2012
Posts: 113 |
|
|
|
0 members (),
1,448
guests, and
60
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|