chrishajer (@chrishajer)

Forum Replies Created

Viewing 25 replies - 2,376 through 2,400 (of 4,477 total)
  • @chrishajer

    Participant

    I know, I rethought that after I posted it. I don’t understand Windows/IIS servers either, so it makes no sense to me. On Linux, there’s nothing funny about it at all. It just works. Make a directory, it works. You can write to it. It’s easy. This makes no sense.

    I will check into write permissions for that folder. I don’t see why a file in that folder can’t write to the folder, but hey, I don’t know anything about Windows servers at all.

    Is there a way to go ’round the problem, hardcoding something or creating the file manually first?

    @chrishajer

    Participant

    There are no other errors but that one?

    What type of host OS are you using?

    What version bbPress did you install?

    Are you integrating with WordPress and if so, what version?

    @chrishajer

    Participant

    _ck_

    Sorry, that didn’t work. More errors this time. It’s making GoDaddy look worse and worse.

    Warning: fopen(D:Hosting123456htmlgodaddytesttest.txt) [function.fopen]: failed to open stream: Permission denied in D:Hosting123456htmlgodaddytestdefault.php on line 9

    Warning: fclose(): supplied argument is not a valid stream resource in D:Hosting123456htmlgodaddytestdefault.php on line 9

    Warning: chmod() [function.chmod]: No such file or directory in D:Hosting123456htmlgodaddytestdefault.php on line 9

    Warning: touch() [function.touch]: Unable to create file D:Hosting123456htmlgodaddytesttest.txt because Permission denied in D:Hosting123456htmlgodaddytestdefault.php on line 11

    0.00039196014404297 seconds

    @chrishajer

    Participant

    Sounds like it’s on NFS.

    @chrishajer

    Participant

    Ah, sorry. The URL button specifically. Missed that.

    @chrishajer

    Participant

    Not sure what mediatemple is (hosting?) but basically the connection details you supplied for the database are incorrect. You usually need four things to connect to the database:

    database name

    database user

    database password

    database host

    In a lot of cases if the first 3 are correct, it’s the 4th one that throws you. I think depending on the version you’re installing (what version is that?) the database host is not shown by default so you don’t enter it, it’s hidden by something like “Show advanced database settings” or similar. When you click that, you see the database host and the table prefix can be changed.

    Is it possible your database is hosted on another server and you need to enter a host name here?

    @chrishajer

    Participant

    _ck_

    I needed to change the /test.txt to \test.txt, but even once that was done, I get this error (prior to this, the filename and path were not right):

    Warning: file_put_contents(D:Hosting123456htmlgodaddytesttest.txt) [function.file-put-contents]: failed to open stream: Permission denied in D:Hosting123456htmlgodaddytestdefault.php on line 9

    Warning: touch() [function.touch]: Unable to create file D:Hosting123456htmlgodaddytesttest.txt because Permission denied in D:Hosting123456htmlgodaddytestdefault.php on line 11

    0.00028681755065918 seconds

    @chrishajer

    Participant

    I tried to post 1&1 and it comes up 1&1.

    edit Dec 20, 2008:

    this is fixed so the comment above looks like there was never anything wrong :-)

    @chrishajer

    Participant

    @fernandot: this worked fine for me. I see the buttons and used them and it works just fine. See my test post. Firefox 3.0.5

    http://ayudawordpress.com/foro/

    @chrishajer

    Participant

    On a Windows server (GoDaddy) there isn’t such a thing as 777 permissions is there? It looks like 777 in my FTP client anyway, even though they’re not shown as such.

    I get this error there:

    Warning: touch() [function.touch]: Utime failed: Permission denied in D:Hosting123456htmlgodaddynfs.php on line 9
    0.00044894218444824 seconds

    This is a GoDaddy Windows hosting account.

    @chrishajer

    Participant

    _ck_ the desktop is Linux. I think it’s Kubuntu.

    On the root server at 1&1, let’s see:

    The 0.129 result is this: 1&1 Root Server II (not available any more, it’s an old account)

    The 0.118 result is this: 1&1 Business I Server

    Their VPS offerings are something else. Not really sure what these are.

    I just checked another 1&1 account I manage, another Business I Server, I got 0.199 for the first result and a consistent 0.165 for the next 10 in a row.

    Hope that helps.

    I think it would be cool if you extended into a host evaluation tool. But how would someone run it on the host before they have an account there?

    @chrishajer

    Participant

    @chrishajer

    Participant

    1&1 shared hosting:

    PHP4: average 0.241

    PHP5: average 0.215

    1&1 root server:

    PHP5: average 0.129

    Another 1&1 root server:

    PHP5: average 0.118

    My 2 year old desktop (local SATA drive, 1GB RAM):

    PHP5: average 0.265

    In reply to: Get Current Forum ID?

    @chrishajer

    Participant

    I can’t figure where you want to use this class of ‘on’ to even think about why it’s not working. Can you show a page where you have a forum id (current_forum_id) , but also a list of forums that you would be applying this class to? I can’t grok it.

    Thanks

    In reply to: Get Current Forum ID?

    @chrishajer

    Participant

    What version bbPress are you using?

    In reply to: change text.

    @chrishajer

    Participant

    In the front-page.php file in your template folder, you can do this:

    Change:

    <th><?php _e('Topic'); ?> — <?php new_topic(); ?></th>

    to:

    <th><?php _e('Topic'); ?> — <?php new_topic('Add New ---->'); ?></th>

    Where Add New —-> is what you want displayed instead of the default.

    In reply to: change text.

    @chrishajer

    Participant

    What version did you install?

    In reply to: change text.

    @chrishajer

    Participant

    Where does the » appear on your page? In the page title, or by the Add New or between the forum name and topic name? And that admin link for me is in the header not the footer. Can you post a screenshot with the items circled that you want to change?

    In reply to: change text.

    @chrishajer

    Participant

    You’re not talking about changing everything into a new language then?

    Where does the text appear that you want to change? You can change anything that appears in a template file without hurting anything else. Maybe what you want to change appears in a template file. Where are the characters you want to change? Is it just »?

    You might be asking about two different things: language file, and characters that appear in the template files.

    In reply to: change text.

    @chrishajer

    Participant

    @chrishajer

    Participant

    Thanks for the information Sam.

    @chrishajer

    Participant

    The topic is closed after you post your contact information so people do not post their contact information there. People can contact you off the forum (it’s a private not a public discussion). This is a WordPress policy which we follow (although I can’t find it right now.) Let’s call it a practice we follow here.

    It is harmless. You’ve posted your contact information and hopefully people will communicate with you via email not via the forum.

    @chrishajer

    Participant

    It’s a Windows server, IIS7, PHP 5.2.5.

    @chrishajer

    Participant

    This happens if you try to delete the only reply on a topic, right, instead of deleting the whole topic?

    Mentioned by someone using Alpha 2:

    https://bbpress.org/forums/topic/problem-deleting-posts

    @chrishajer

    Participant

    I’ve been working with Brad to help resolve this. We’ve finally made some progress.

    1. We needed to use the iis_fix plugin from _ck_. Otherwise, any page other than the first page just gets stuck in a reloading loop. Installing this plugin, as an autoload plugin or manually activated plugin, takes care of that problem.

    2. When the index.php file is renamed to default.php, the site works fine. When it’s left named index.php, the forum comes up as a 404 error for the front page of the forum only. You can access other pages directly, by adding to the URL. But if you try to load http://www.beardownarizona.com/forums/ or http://www.beardownarizona.com/forums/index.php you get a 404 error. If you rename index.php to default.php, http://www.beardownarizona.com/forums/ loads the front page of the forum just fine.

    GoDaddy serves the DirectoryIndex file in this order:

    http://help.godaddy.com/article/61

    So renaming index.php to default.php (or even leaving index.php there and just copying it to a file called default.php) works just fine.

    I also found, with the plugin installed, and this line commented out in index.php, that index.php works fine, and the forums will also load fine when accessed at http://www.beardownarizona.com/forums/ .

    /* bb_repermalink(); */

    So long as that function is not called in the index.php, index.php works just fine on this server.

    So, here are the questions:

    1. will bbPress work OK without an index.php and just a default.php being the DirectoryIndex file? (it seems to be fine)

    2. can the bb_repermalink(); line be commented out in index.php if the site is not using permalinks? Would commenting it out affect anything else negatively?

    3. What does that function do that would cause the index.php file to come up as a 404 when it’s clearly there? It’s almost like it’s trying to load index.php, index.php says “rewrite the URL to {something else}” then it fails to find index.php.

    Any thoughts? Thanks.

Viewing 25 replies - 2,376 through 2,400 (of 4,477 total)