Hi,
I'm writing to this forum as I'm absolutely desperate to solve a problem and despite looking everywhere for an answer I've come up with nothing, I'm new to php (about a week!) and have been trying to crash course myself in it so I wonder if somebody could take a moment out to help me please? I have a domain on a server with bglobal.net (linux, with a plesk control panel) and I've been trying to upload Open Classifieds to it (Open-Classifieds.com), I can get it installed but unusable as far as logging into admin goes. I e-mailed my host about this and eventually they came back with the following:

*As a rule of thumb we dont allow many changes to server config as this is set for all users to be able to use and resources can be evenly split.
But what I have done is allowed you access to your conf folder in your account where you can place a config file for the server to read. If you create a conf file you can add extra settings to your domain.
We have only enabled this for the domain in question. Also remember to set the files permissions to read only once complete. Plenty of information on creating a custom conf file can be found online.
**

I've now logged into my plesk panel and yes I can access the conf folder but I've no idea where to start with creating a conf file to help me change settings to install both the Open Classifieds software and perhaps others in the future. Does this new file have to be specific for that particular php script or will it 'globally' change everything? Is it a php.ini file i need to create? If not what file extension would it need and what do I put in it?
As I say I really dont know where to start so if somebody could even point me in the right direction I'd be eternally grateful.
I'm after creating a local jobs type site and I'd like to get it up and running as soon as possible but I'm pulling my hair out (whats left of it!)

Best regards and many sincere thanks.

    new4now wrote:

    I've no idea where to start with creating a conf file to help me change settings to install both the Open Classifieds software and perhaps others in the future.

    Which settings? There's no PHP directive called make_random_software_packages_fail_to_work, so unless you know what the problem is ("unusable" isn't the problem - it's the result) there's not much point in even addressing the rest of your questions. However...

    new4now wrote:

    Does this new file have to be specific for that particular php script or will it 'globally' change everything?

    Since what it sounds like you have access to is uploading a custom php.ini file, any changes you make will of course affect all PHP scripts.

    new4now wrote:

    Is it a php.ini file i need to create?

    That's what it sounds like the response in your post is suggesting, yes.

      Thanks for the help, as I say I really am new to this but I intend not to be asap as I'm pushing to learn all the time. I'm sorry about the lack of information but I'm still trying to understand why things are happening (or not) and so it's difficult to explain it in words. My immediate problem is that when i create a database, upload Open Classifieds and then go to (in my case) www.paint-my-fence.co.uk/1.7.1/install it goes through an install procedure which I fully understand everything it's asking for such as database name, password etc and it states that it's installed. This then takes me to http://www.paint-my-fence.co.uk/1.7.1/ but if I go to admin my username and password dont work at all although its the same ones that I've just requested in the install screens. A requirement of Open classifieds is: (GD support, mod_rewrite,curl,gettext)
      I mentioned this to my host and hence they sent me the message that you've read in my post. I don't exactly know the problem as I've already said I am new to this but I'm guessing that its something to do with being able to write to the database? Hence why my host has opened up the conf directory for me?
      Thanks again for your patience.

        Sorry i forgot to mention, I have put a php.ini file into that particular directory on the server and filled it with script from standard file that I found on the net but i really dont know which parts of it I need to be changing and why.
        Again I know thats no particular help to you but I'm just trying to build more of a picture up.
        Regards.

          I've tried to install Open Classifieds again and in the start of the install screen it gives me the following:

          Server softwarePHP version 5.2 or higher: Yes
          MySQL: Found
          Curl: Found
          URL rewriting: Cannot check if installed
          Language support (gettext): Found

          Writeable foldersSite root "/" (install will update: .htaccess, robots.txt, sitemap.xml.gz)
          ".htaccess" OK - Writable
          "robots.txt" OK - Writable
          "sitemap.xml.gz" OK - Writable
          "/images/" OK - Writable
          "/cache/" OK - Writable
          "/includes/config.php" (mandatory to perform installation) OK - Writable

          Is it maybe something to do with URL rewriting? Also I thought once it was installed it was supposed to create a htaccess file but there is none. Again I dont know much but I'm just providing whatever info I can.

          Best Regards.

            3 months later

            new4now,
            don't worry about the "URL rewriting: Cannot check if installed" warning line. Just upload OC to your webserver making sure that .htaccess is uploaded in ASCII mode and have at least 604 permission then do the install. Finally edit .htaccess by commenting the second line:

            ErrorDocument 404 /content/404.php
            #Options All -Indexes
            <IfModule mod_rewrite.c>
            RewriteEngine on
            RewriteBase /
            .
            .
            and that's it.....
            This is what I did and my OC is visible and running, the problem now is that I´m not able to access the admin backend. If you come up with any solution for it let me know. By the way my site is hosted by godaddy at www.pontuaviso.com and my email address is ybicoatyahoodotcom

              Write a Reply...