quote from jim on post #153Hi
Thanks for getting back to me, ok I have changed it so the output file is befor my db_connect script and the error seems to have gone, I have turned on magic quotes thanks for pointing that out and as for the image i tried to use it on your forum as my avatar but i have the same problem i think it must just be that 1 image im not to sure why though as it works on my testing server strange but not to worrie.
As for the search i was trying to search by user name not part of a post i guess its just how the search is setup.
A change of subject do you keep the body page the same for each update like the config as i have changed the layout and i dont wont to have to change it each time a new version comes out.
I also got this error message:
Warning: unlink(forum/images/_827200/avatars/forum1__1_1271919107.jpg) [function.unlink]: No such file or directory in /home/cika5584/public_html/recyclemefree.com/forum/pre_forum_options.php on line 53
many thanks | |
yes the search only searches post and folders titles and texts at the moment. im adding searching by username to my todo list
i was initially trying to never change the body.php exactly for that reason but 1 day theres something i really needed to add there (1.034) but later on i actually removed that change and went back to the original body.php (1.045). and so far since that there was never any change to the body.php except in 1.047 when i had to add a
code:
a_function_that_is_only_in_the_pre_output(); |
at the beginning of the code for a security update. so i dont know how old your body.php is but if its older than 1.047 then i recommend that you just add the
code:
a_function_that_is_only_in_the_pre_output(); |
at the beginning of your body.php like that:
code:
<?php
a_function_that_is_only_in_the_pre_output();
echo '<script type="text/javascript" src="'.$_nodesforum_code_path.'_nodesforum_js.js"></script>';
echo '<style type="text/css">
.class_nodesforum_bgcolor1 {color:'.$_nodesforum_text_color.';background-color:'.$_nodesforum_background_color1.';background-image:url("'.$_nodesforum_mysterypath.'/gradios2.png");background-position:bottom;background-repeat:repeat-x;vertical-align:top;}
.class_nodesforum_bgcolor2 {color:'.$_nodesforum_text_color.';background-color:'.$_nodesforum_background_color2.';background-image:url("'.$_nodesforum_mysterypath.'/gradios2.png");background-position:bottom;background-repeat:repeat-x;vertical-align:top;}
.class_nodesforum_inner {padding-left:4px;padding-right:4px;background-image:url("'.$_nodesforum_mysterypath.'/gradios.png");background-repeat:repeat-x;}
.class_nodesforum_bgcolor3 {color:'.$_nodesforum_......................... |
im planning to eventually make a chart of the updates and whether any of them contains a change in either config.php or the database structure but there was no such change yet except just a few *optional settings added in the config.php yet. but i guess i will probably include body.php in that chart too now. but i havent made the chart yet...
quoteI also got this error message:
Warning: unlink(forum/images/_827200/avatars/forum1__1_1271919107.jpg) [function.unlink]: No such file or directory in /home/cika5584/public_html/recyclemefree.com/forum/pre_forum_options.php on line 53 | |
that means a problem when trying to delete your old picture. the forum deletes your old picture when you successfully upload a new one. if you can check in you avatars folder and check if you see a picture named
forum1__1_1271919107.jpg.
- if it is there then that would be a permission problem. maybe a problem with how php needs to be able to read and write in the images folder or maybe just 1 guess if you moved that picture from another server when you changed server it could cause the "owner" of this file to be the user of your ftp you upload it with, causing the problem which shouldnt happen if the pic had been updated by php. but thats just a supposition.
- if it is there then that means a bug. lets cross our fingers it was a 1 time bug and if not let me know and ill investigate.
also about that mysterious png that is only recognized on your old server i made a tiny change to bod_forum_options.php so that now if an uploaded avatar isnt accepted because the mime type isnt one of the accepted ones the server will tell the user what is the detected mime type(released in 1.050 and thats the only change between 1.049 and 1.050 so you can update from 1.049 to 1.050 only by updating your bod_forum_options.php)