vavavr00m / noserub

Automatically exported from code.google.com/p/noserub
0 stars 0 forks source link

Error (Undefined variable: foreignKey) when posting a link activity. #324

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. From HOME, select LINK.
2. enter Noserub in description
3. enter www.noserub.com (or http://www.noserub.com ) in URL

What is the expected output? What do you see instead?
Expect an entry, but receive errors:

Notice (8): Undefined variable: foreignKey [APP/models/entry.php, line 580]
Warning (512): SQL Error: 1048: Column 'foreign_key' cannot be null 
[CORE/cake/libs/model/datasources/dbo_source.php, line 549]
Query: INSERT INTO `entries` (`identity_id`, `foreign_key`, `model`, 
`service_type`, 
`published_on`, `title`, `url`, `uid`, `content`, `restricted`) VALUES (2, 
NULL, '', 2, '2009-09-
30 22:43:17', 'noserub ', 'http://noserub.com', 
'03dc23832974b040b3f20bd273c41f8e', 
'noserub ', 0) 

Warning (2): Cannot modify header information - headers already sent by (output 
started at 
/Applications/MAMP/htdocs/noserub.branch/cake/libs/debugger.php:671) 
[CORE/cake/libs/controller/controller.php, line 691]

Original issue reported on code.google.com by judoco...@gmail.com on 30 Sep 2009 at 9:44

GoogleCodeExporter commented 9 years ago
Seems to be fixed, hence closing the ticket.

Original comment by dhofs...@gmail.com on 24 Oct 2009 at 7:05