Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: file_get_contents causes a 404 error
Post: RE: file_get_contents causes a 404 error

After a bit more digging, I now understand. In my Apache VirtualHost configuration, I had (among other things) Code: --       DirectoryIndex index.php     ErrorDocument 404 /   -- wh...
6,902 Views
7 Replies
09-16-2016, 04:28 AM
gordski68
    Thread: file_get_contents causes a 404 error
Post: RE: file_get_contents causes a 404 error

Furthermore, if I set the internal URL to Quote: -- http://www.domain.com/index.php/storage/item/57d952d0a09d0 -- then the access log shows Quote: -- 127.0.0.1 - - [16/Sep/2016:10:47:44 ...
6,902 Views
7 Replies
09-16-2016, 02:53 AM
gordski68
    Thread: file_get_contents causes a 404 error
Post: RE: file_get_contents causes a 404 error

Thanks for the thoughts; quite agree this isn't yet production code! So the print_r(error_get_last()); shows: Quote: -- Message: file_get_contents(http://www.domain.com/storage/item/57d952d0a...
6,902 Views
7 Replies
09-16-2016, 02:26 AM
gordski68
    Thread: file_get_contents causes a 404 error
Post: RE: file_get_contents causes a 404 error

salain Wrote: (09-15-2016, 06:59 AM) -- I think your $record would be FALSE rather than NULL if there is no record. -- Thanks, for your thought; in this case the record exists (prefabricated testin...
6,902 Views
7 Replies
09-16-2016, 02:04 AM
gordski68
    Thread: file_get_contents causes a 404 error
Post: file_get_contents causes a 404 error

Hi, I am working on my first CodeIgniter project - using 3.1 and liking it so far! However I have come across an issue which has stumped me and I haven't found anything online about it. I hav...
6,902 Views
7 Replies
09-15-2016, 05:59 AM
gordski68

Theme © iAndrew 2016 - Forum software by © MyBB