Re: Blank page when CakePHP is uploaded to the server

2010-04-19 Thread WhyNotSmile
Thanks. I can't view a page in webroot, but I did put phpinfo in a file which is at www.softwaresolutionsni.co.uk/info.php. I know this is no longer really a PHP question, but I'd really appreciate if anyone could either have a look and see whether it looks ok, or suggest a group where I could as

Re: Blank page when CakePHP is uploaded to the server

2010-04-19 Thread cricket
On Apr 19, 7:52 am, WhyNotSmile wrote: > Thanks John, I see what you mean.  I've no idea what causes that > though, or how to fix it :s - but at least I'm closer to the problem! It looks to me like your webroot is inaccessible. Try uploading a simple page to webroot and then try seeing it. It mig

Re: Blank page when CakePHP is uploaded to the server

2010-04-19 Thread WhyNotSmile
Thanks John, I see what you mean. I've no idea what causes that though, or how to fix it :s - but at least I'm closer to the problem! Thanks again, Sharon On 17 Apr, 17:18, John Andersen wrote: > I have just been looking at your site with FF and Firebug. The > interesting information I can see,

Re: Blank page when CakePHP is uploaded to the server

2010-04-17 Thread John Andersen
I have just been looking at your site with FF and Firebug. The interesting information I can see, is that your CSS, JS, and IMG directories are not accessable, they all return 404 errors. Hope this helps you on the way or other may be able to provide better information. Enjoy, John On Apr 17, 6

Re: Blank page when CakePHP is uploaded to the server

2010-04-17 Thread WhyNotSmile
Hi Andras, thanks for that. I changed it as you suggested, and it's now looking a bit better, but it's as if CSS is disabled or it's not picking it up for some reason. Nothing new is showing up in the error logs and there are no on-screen messages - it's got all the content now, but still none of

Re: Blank page when CakePHP is uploaded to the server

2010-04-16 Thread Andras Kende
try to change I'm back to this again... have changed web hosts, and got everything > uploaded. I'm no longer getting the blank page, but I'm getting > errors. > > It looks like cake isn't picking up the css or javascript - if you go > to www.softwaresolutionsni.co.uk you'll see what I mean. Th

Re: Blank page when CakePHP is uploaded to the server

2010-04-16 Thread WhyNotSmile
I'm back to this again... have changed web hosts, and got everything uploaded. I'm no longer getting the blank page, but I'm getting errors. It looks like cake isn't picking up the css or javascript - if you go to www.softwaresolutionsni.co.uk you'll see what I mean. There are random bits of cod

Re: Blank page when CakePHP is uploaded to the server

2010-04-07 Thread Sam Sherlock
Have you tried RewriteBase? Hosting support admin are often not very helpful. Host often restrict some stuff - in order to squeeze more accounts on to shared boxes. Also such hosts are prone to making changes and not documenting them for users - I have two such companies in mind here ensuring th

Re: Blank page when CakePHP is uploaded to the server

2010-04-07 Thread Marcelo Andrade
I did not follow the entire thread, but I had this kind of problem before and I solved it uploading all the files setting the "binary mode" file transfer in my ftp client. Best regards. -- MARCELO F ANDRADE Belem, Amazonia, Brazil "I took the red pill" Check out the new CakePHP Questions site

Re: Blank page when CakePHP is uploaded to the server

2010-04-06 Thread WebbedIT
Sorry if that came across as militant and I should have provided an answer too, but thought that would defeat the object of changing the subject back to it's original value. Paul crawls back under his rock ashamed :) Check out the new CakePHP Questions site http://cakeqs.org and help others with

Re: Blank page when CakePHP is uploaded to the server

2010-04-03 Thread Jon Bennett
> I agree with you WebbedIT - it saves a lot of confusion!  Also stops > the thread from getting really long and out of control. > > At the same time, if there was a quick answer to their question, I'd > probably help them with it as well as advising them to start a new > thread. I don't disagree,

Re: Blank page when CakePHP is uploaded to the server

2010-04-03 Thread WhyNotSmile
I agree with you WebbedIT - it saves a lot of confusion! Also stops the thread from getting really long and out of control. At the same time, if there was a quick answer to their question, I'd probably help them with it as well as advising them to start a new thread. On 3 Apr, 08:12, WebbedIT

Re: Blank page when CakePHP is uploaded to the server

2010-04-03 Thread Jon Bennett
> Am I alone in thinking it is better to tell new users that they need > to create their own threads rather than replying to their comments > when they hijack someone elses thread? I suspect not, but I wouldn't expect a deluge of replies damming one user either! J -- jon bennett - www.jben.net

Re: Blank page when CakePHP is uploaded to the server

2010-04-03 Thread WebbedIT
Am I alone in thinking it is better to tell new users that they need to create their own threads rather than replying to their comments when they hijack someone elses thread? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You rece

Blank page when CakePHP is uploaded to the server

2010-04-02 Thread WebbedIT
@Yafes: You have just hijacked someone else's thread and changes their subject! Please remove your query from this thread and start your own. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you ar

Re: Blank page when CakePHP is uploaded to the server

2010-04-02 Thread WhyNotSmile
Hi Tonu, I haven't had the time to try a vanilla app, but may give it a go if I get a chance at the weekend. Jeremy - I know! They suggested their sister hosting company instead... no explanation or anything. Sharon Check out the new CakePHP Questions site http://cakeqs.org and help others with

Re: Blank page when CakePHP is uploaded to the server

2010-04-02 Thread Tonu Tusk
Hi - did you do what Jeremy suggested and just try a "clean" install of cake on the site (with just a single model / controller for testing purposes) to see how that was working? In the past, I have had problems when deploying based a few things... these two were pretty annoying to find, and I sti

Re: Blank page when CakePHP is uploaded to the server

2010-04-01 Thread Jeremy Burns
That sounds like a weird cop out! That's like saying "We won't let you run PHP"! Jeremy Burns jeremybu...@me.com On 1 Apr 2010, at 17:14, WhyNotSmile wrote: > I eventually contacted the hosting company about this, and they said > 'We see you are using cake. We don't support that.'. Aaargh! N

Re: Blank page when CakePHP is uploaded to the server

2010-04-01 Thread WhyNotSmile
I eventually contacted the hosting company about this, and they said 'We see you are using cake. We don't support that.'. Aaargh! Never mind that the app ran until about 2 weeks ago, and then mysteriously stopped! Anyway, thanks for all the help, but it seems this is not a cakePHP issue. Check

Re: Blank page when CakePHP is uploaded to the server

2010-03-29 Thread Jeremy Burns
How about creating a really simple app with one model/controller and no security, auth, acl, routing or anything? Just see if a vanilla app works. That might help work out if it is infrastructure or code. Jeremy Burns jeremybu...@me.com On 29 Mar 2010, at 15:47, WhyNotSmile wrote: > Thanks J

Re: Blank page when CakePHP is uploaded to the server

2010-03-29 Thread WhyNotSmile
Thanks John, I tried bypassing mod_rewrite in the way you suggested, but it didn't work either. Cricket, the error log hasn't been updated since 14th March, which was before all this started. I have debug at the highest level. Jeremy, I've been caught out by that before, but checked and all is f

Re: Blank page when CakePHP is uploaded to the server

2010-03-25 Thread Jeremy Burns
The .htaccess files can be hidden and therefore missed when doing an upload. Seems like a basic thing - but are the .htaccess files on the sever? Jeremy Burns jeremybu...@me.com On 25 Mar 2010, at 22:59, cricket wrote: > On Mar 25, 4:31 pm, WhyNotSmile > wrote: >> WebbedIT - I haven't made any

Re: Blank page when CakePHP is uploaded to the server

2010-03-25 Thread cricket
On Mar 25, 4:31 pm, WhyNotSmile wrote: > WebbedIT - I haven't made any changes to the .htaccess files from > their initial setup, as downloaded from the Cake repository.  I don't > really understand them, to be honest, so I tend to just leave them as > they are. The .htaccess file inside app simp

Re: Blank page when CakePHP is uploaded to the server

2010-03-25 Thread Jon Bennett
> Thanks for the suggestion - I tried this, and got php_info working > fine.  I can't see anything obvious, although my local one explicitly > says mod_rewrite is enabled, whereas the live one doesn't mention it. > On the other hand, an earlier version of the site on this server DID > work fine, so

Re: Blank page when CakePHP is uploaded to the server

2010-03-25 Thread WhyNotSmile
WebbedIT - I haven't made any changes to the .htaccess files from their initial setup, as downloaded from the Cake repository. I don't really understand them, to be honest, so I tend to just leave them as they are. Would it be using the security component? Does it do that automatically (sorry, I

Re: Blank page when CakePHP is uploaded to the server

2010-03-25 Thread WhyNotSmile
Thanks for the suggestion - I tried this, and got php_info working fine. I can't see anything obvious, although my local one explicitly says mod_rewrite is enabled, whereas the live one doesn't mention it. On the other hand, an earlier version of the site on this server DID work fine, so I think i

Re: Blank page when CakePHP is uploaded to the server

2010-03-25 Thread Luiz Paulo Nascimento
i mean for 'every file', every model/view/controller file that you have created. LP 2010/3/25 Luiz Paulo Nascimento : > i had a similar problem months ago. after a lot of trying, i've edited > the uploaded files directly on server to eliminate blank > lines/characters at the end of every file. An

Re: Blank page when CakePHP is uploaded to the server

2010-03-25 Thread Luiz Paulo Nascimento
i had a similar problem months ago. after a lot of trying, i've edited the uploaded files directly on server to eliminate blank lines/characters at the end of every file. And it worked! :P Not so logical, but it's worth to give a try. Good luck. LP 2010/3/24 WhyNotSmile : > Thanks Jeremy. > > DB

Re: Blank page when CakePHP is uploaded to the server

2010-03-25 Thread WebbedIT
Problems when uploading to a server are normally associated with .htaccess/url rewriting, but a white screen can also be indicative of the security component blackholing a request. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. Yo

Re: Blank page when CakePHP is uploaded to the server

2010-03-24 Thread cricket
Do you have access to Apache's logs? What about php.ini? Can you see any static pages in webroot? Try adding a file, info.php, with: If that works, you can easily compare the local & remote setups. Maybe something will jump out. And I recommend you set debug no higher than 2. At 3, Cake spits o

Re: Blank page when CakePHP is uploaded to the server

2010-03-24 Thread WhyNotSmile
Thanks Jeremy. DB access is back, so it must just have been a momentary problem - but it hasn't made my site appear! I'll try creating a dummy home page and see whether that helps. I don't know how to check mod_rewrite - I did have an earlier version of the site up before, and it worked fine, so

Re: Blank page when CakePHP is uploaded to the server

2010-03-24 Thread Jeremy Burns
Does your home page need db access? If so, try removing that code (or create a temporary dummy) and see if that comes through. Have you checked that mod_rewrite is enabled on the server too? Jeremy Burns jeremybu...@me.com On 24 Mar 2010, at 15:58, WhyNotSmile wrote: > An update - I've discov

Re: Blank page when CakePHP is uploaded to the server

2010-03-24 Thread WhyNotSmile
An update - I've discovered that I can't get access to the database at the moment. Could that be causing this? In the past, it has always triggered a more obvious error, but maybe for some reason it's just bailing out now? Sharon Check out the new CakePHP Questions site http://cakeqs.org and he

Re: Blank page when CakePHP is uploaded to the server

2010-03-24 Thread WhyNotSmile
Thanks Jeremy. I tried all those things, but am no further on. - Debugging is set to 3, and isn't bringing up anything - Caches have all been cleared, and that didn't help - Made the folders writable - Debug and error logs don't have anything that helps - the most recent entries are from weeks ag

Re: Blank page when CakePHP is uploaded to the server

2010-03-24 Thread Jeremy Burns
As a first best bet I would: - Enable debugging - that might reveal an error that's currently being hidden from you. - Clear the caches (empty the folders in /app/tmp/cache/). - Make sure the folders under /app/tmp/ are writable. - Look in the debug and error logs (both inside /app/tmp/logs) Jer

Blank page when CakePHP is uploaded to the server

2010-03-24 Thread WhyNotSmile
I've built a site in CakePHP 1.2, which is working fine locally. However, when I upload it to the server and then navigate to it, I get a blank page. The setup is exactly the same, and the .htaccess files haven't been changed from the downloaded ones. I've cleared the cache files in /app/tmp, but