einsteine
Newbie

Posts: 5
|
 |
« on: February 19, 2010, 06:16:31 am » |
|
Hi all! I'm having problem installing the WB News. The problem is that I can't find the file config.php in my wbnews directory after I've extract the archive on my server www folder. I've downloaded the file yesterday and just extracted the archive. Please someone help me.
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
Yakiv
|
 |
« Reply #1 on: February 19, 2010, 11:27:54 am » |
|
Hi all! I'm having problem installing the WB News. The problem is that I can't find the file config.php in my wbnews directory after I've extract the archive on my server www folder. I've downloaded the file yesterday and just extracted the archive. Please someone help me.
Thanks
@einsteine, you are correct, there is no config.php file. The program will install, just perfectly, if you create a plain file, named config.php, and drop it in the main directory where you put the wb news files. When the install takes place, the program will overwrite the file with the proper configurations. You should chmod the file to 777 before you do your install. After your install is done, chmod it to 400, if your server configuration will allow that, for proper function of the program. Also, delete your install folder, after your installation. You should be good to go. ...Take a look in the examples folder, as to how to implement it into your site. I am very familiar with the program, so if you need further help, let me know. I love the program and it has helped me a lot.
|
|
|
|
|
Logged
|
|
|
|
einsteine
Newbie

Posts: 5
|
 |
« Reply #2 on: February 19, 2010, 04:07:34 pm » |
|
Ok..Thanks for this quick repaly. I've done as you said but still got a problem... I have wamp server installed on my system (I have windows 7 installed) and after I extracted the archive on my www folder and go to firefox and typed http://localhost/wbnews/install/install.php, I get this message: 1. File Check 2. Database Information 3. Install Database 4. Administration Setup 5. Complete
File Check
Click on the next button to perform the file check which makes sure all required files are uploaded and correct permissions are set. HiddenTags( $formdata["hidden"] ) ?> Message() ?> SubmitButtons( $buttons ) ?>
I also find a similar topic on this forum but I found no solution there. I have the code if ( !ini_get( "short_open_tag" ) ) ini_set( "short_open_tag", 1 ); inserted on my install.php file. Can someone please help me to install wbnews, I'm new in this! Best regards! --------------------------------------------------------------------------------------------------------------------------------- einsteine
|
|
|
|
|
Logged
|
|
|
|
|
Paul Mcilwaine
|
 |
« Reply #3 on: February 21, 2010, 02:32:18 am » |
|
I really need to remove short_tags from the template files as its a bit of concern not to mention the fact that they are slowly being phased out from PHP. Where did you place (line numbers) the ini_get code in the install file. Also what version of PHP and WB News have you got ? If you feel comfortable with using a text editor to do a global search and replace on the entire WB news code you can do so by replacing <?=
And replace with <?php echo
Otherwise I can try and push a small update but this could take me a little while to get around too.
|
|
|
|
|
Logged
|
|
|
|
einsteine
Newbie

Posts: 5
|
 |
« Reply #4 on: February 21, 2010, 04:11:22 am » |
|
Ok....First of all, I have installed wamp server 2.0 on my pc ( PHP 5.3.0 is installed with the server). I have downloaded from this site wbnews_v2.3.2-20091209 5 days ago. The code if ( !ini_get( "short_open_tag" ) ) ini_set( "short_open_tag", 1 ); was on the install.php at line 20. The code does not have <?= tags, only <?php Are there any informations that I could tell you about and help me to install the wb news? Regards, einsteine
|
|
|
|
|
Logged
|
|
|
|
|
Paul Mcilwaine
|
 |
« Reply #5 on: February 21, 2010, 07:56:36 pm » |
|
The template files do however have <?= this is not in the install.php file but rather install/templates/*.ihtml.
If you can wait a day or two I can probably get a 2.3.3 update out with short tag code disabled fix. From memory php 5.3 (which I have not tested against yet) has short_tags disabled and doesnt allow the ini_set method to turn them on, I could be mistaken about that last part though.
|
|
|
|
|
Logged
|
|
|
|
einsteine
Newbie

Posts: 5
|
 |
« Reply #6 on: February 22, 2010, 01:53:21 am » |
|
|
|
|
|
|
Logged
|
|
|
|
|
Yakiv
|
 |
« Reply #7 on: February 22, 2010, 02:11:20 pm » |
|
The template files do however have <?= this is not in the install.php file but rather install/templates/*.ihtml.
If you can wait a day or two I can probably get a 2.3.3 update out with short tag code disabled fix. From memory php 5.3 (which I have not tested against yet) has short_tags disabled and doesnt allow the ini_set method to turn them on, I could be mistaken about that last part though.
...Slightly off-topic, as to the install, but regarding the 2.3.3 release - will it include a modified beta theme (and example files, or whatever else is necessary), with regard to the following discussion?: http://forums.webmobo.com/index.php?topic=700.msg1743#msg1743
|
|
|
|
« Last Edit: March 02, 2010, 05:48:37 pm by Yakiv »
|
Logged
|
|
|
|
|
Paul Mcilwaine
|
 |
« Reply #8 on: March 01, 2010, 10:16:26 pm » |
|
Please note I haven't forgotten about this, just been extremely busy with Uni and work which has held me up.
Also Yakiv, no this wont have the theme which does the url rewrite. If I get a chance I may release something otherwise please refer to that thread and I'll do what I can to help out.
|
|
|
|
|
Logged
|
|
|
|
|
Yakiv
|
 |
« Reply #9 on: March 02, 2010, 05:51:34 pm » |
|
Looking forward to the next release!! I keep checking back every day!!!  (I have referred to the thread. ...I honestly am hoping you'll release a modified beta theme and other necessary files, like maybe classes. I am not able to sort it out, yet I do want the ability to have the URL rewrite working. ...I guess I will just have to wait until you release something. ...I mean, you must have a working theme for yourself, otherwise your plugin wouldn't even work for you. So, I don't know why you won't release a modified theme. It's rather disconcerting.)
|
|
|
|
|
Logged
|
|
|
|
|
Paul Mcilwaine
|
 |
« Reply #10 on: March 02, 2010, 05:59:59 pm » |
|
This is going off topic. However yes the main site does use a slightly modified theme, the changes are very much what Ive stated in the thread which talks about the URL Rewrite functionality. The difference is that the main site is using the "ID" rather than the new URLSegment field which is associated with this plugin.
EDIT: The v2.3.3 is only removing short_tags from templates there are no other changes to this release. Hoping to get it up later today.
|
|
|
|
|
Logged
|
|
|
|
|
Yakiv
|
 |
« Reply #11 on: March 02, 2010, 06:44:22 pm » |
|
This is going off topic. However yes the main site does use a slightly modified theme, the changes are very much what Ive stated in the thread which talks about the URL Rewrite functionality. The difference is that the main site is using the "ID" rather than the new URLSegment field which is associated with this plugin.
EDIT: The v2.3.3 is only removing short_tags from templates there are no other changes to this release. Hoping to get it up later today.
But you don't have your own working version of a theme, which uses the "URLSegment field"? I would guess you do, otherwise, how would you know that your plugin works or not?
|
|
|
|
|
Logged
|
|
|
|
einsteine
Newbie

Posts: 5
|
 |
« Reply #12 on: March 05, 2010, 04:15:59 am » |
|
Thanks for the last release....I managed to install WBnews with no problem, just some wornings, a lot of then, all starting like this Deprecated: Function split() is deprecated But I still managed to install. thanks 
|
|
|
|
|
Logged
|
|
|
|
|
Paul Mcilwaine
|
 |
« Reply #13 on: March 05, 2010, 05:43:46 am » |
|
You may want to turn the error reporting down. I assume its currently set to E_ALL which shows Strict and Deprecated warnings. I probably need to get an installation of php 5.3 setup too as I haven't tested for that at this stage.
|
|
|
|
|
Logged
|
|
|
|
|