![]() |
problems with functions.php
im testing this mod on my localhost...
all the files seems to be working fine exept functions.php when I upload the edited functions.php the forum starts giving me a blank page when I restore the old file, the forum works again!!! I believe I did all the modifications just fine for that topic... I donno what's happening!! same thing goes to functions_showthread.php :\ |
Not very specific. Where does it give you a blank page? The functions.php modification is just two things, replace the global declaration and add a section of code. Also, you need to create a new phrase. That's it. Where do you get the blank page?
And when you say "the same thing goes to functions_showthread.php" what do you mean? You also get a blank page? Where? Rgds |
when I replace functions_showthread.php, it starts giving me a blank page on showthread.php
and when I replace functions.php, it gives me a blank page on the whole forum. I did create the new phrase you mentioned in ur instructions text! |
Check the changes again. The changes in functions.php affect only the case, when a banned member tries to log in the forum. There is no reason to get a blank page if the change was done properly.
If you can't find the problem yourself, maybe you can let me have a look. Rgds |
i'd be more than happen for you to have a look, but I found an error, it seems the mysql didn't install, coz when I went to "Execute Query" and ran the mysql code, it gave me the following
Code:
An error occurred while attempting to execute your query. The following information was returned. |
What editor did you use?
|
dreamweaver
why ? :confused: |
Dreamweaver is known for causing problems like this. Tr re-edit your files with a normal text based editor.
|
i've been using dreamweaver since ever!!
never caused such problem :\ anyway I will try.... sv1cec, can you take a look at the code in my site plz? |
I can, but you'll have to give me ftp and admin access. Email me or PM me.
Also, in order to run the queries manually, you have to change the ".TABLE_PREFIX." part, to the table prefix you are using (if you are using one), or remove it all together, if you are not using a table prefix. Rgds |
I uploaded the files to my site, and everything worked just fine until I uploaded the modified functions.php, the forum started giving me a blank page... so I had to restore the old file.
and the functions_showthread.php. is working fine now. I stopped at the funtions.php just a question, should I edit the template files also so the php files work ??? and sv1cec pm sent, hope u can fix it! and by the way, in modcp/banning.php, I couldn't find the following as you said in ur instructions text: Code:
$DB_site->query(" Code:
$DB_site->query(" donno thought this might be the problem! oh I just found something really interested: Quote:
|
We'll make it work for you. But you are right, this is not a mandatory change. As I told you, I'll check your site either later tonight or early tomorrow morning. Please give me some time.
Rgds |
All times are GMT. The time now is 12:32 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|