MySqlIException
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and issue.start_date < 1268357055
order by
art.id desc limit 0, 5' at line 10
select
art.id, art.title_ro, art.handle_ro,
art.content_ro
from
tbl_articles art
inner join tbl_magazine_issues issue on art.issue = issue.id
where
art.id != 0
and art.author =
and issue.start_date < 1268357055
order by
art.id desc limit 0, 5
Article->Display('/ro/articole/%s/')
File: /sites/sapteseri.ro/Classes/WebPages/ArticlesWebPage.php, Line: 127
<?php
122. }
123. $str .= '
124. <div class="container w675 h1 lh1"><img src="/Images/spacer.gif" width="675" height="1" alt=""/></div>
125. </div>';
126. } else {
127. $str .= $this->Article->Display($this->SetPage($this->Handle, array("wparam" => "%s")));
128.
129. // Display Author Ad
130. $file = "Assets/Ads/Articles/Authors/".$this->Article->Author->ID.".html";
131. #$str .= $file;
132. $str .= $this->EchoFile($file);
?>
ArticlesWebPage->Main('')
ReflectionMethod->invoke(ArticlesWebPage, '')
File: /sites/sapteseri.ro/Arachnid/Core/Web/PlaceholderHandler.php, Line: 76
<?php
71. $reflectionObject = new ReflectionObject($this->ObjectInstance);
72. $reflectionMethod = $reflectionObject->getMethod($this->MethodName);
73. if(is_array($this->Parameter))
74. return $reflectionMethod->invokeArgs($this->ObjectInstance, $this->Parameter);
75. else
76. return $reflectionMethod->invoke($this->ObjectInstance, $this->Parameter);
77. }
78.}
79.
80.?>?>
PlaceholderHandler->Invoke()
File: /sites/sapteseri.ro/Arachnid/Core/Web/Template.php, Line: 68
<?php
63. $search = array();
64. reset($this->Handlers);
65. while(list($placeholder, $handler) = each($this->Handlers)) {
66. if(strstr($this->Text, $placeholder) === false || ! ($handler instanceof PlaceholderHandler) ) continue;
67. $search[] = $placeholder;
68. $replace[] = $handler->Invoke();
69. }
70.
71.// echo '<pre>'.print_r($search, true).'</pre>';
72.// echo '<pre>'.htmlspecialchars(print_r($replace, true)).'</pre>';
73.
?>
Template->Parse()
File: /sites/sapteseri.ro/Arachnid/Core/Web/WebDocument.php, Line: 51
<?php
46. *
47. * @return string
48. */
49. public function Display() {
50. header("Content-Type: ".$this->ContentType."; charset=".$this->Charset);
51. return $this->Template->Parse();
52. }
53.}
54.?>?>
WebDocument->Display()
File: /sites/sapteseri.ro/index.php, Line: 94
<?php
89. if(isset($_SESSION["send_not_found"])){
90. header("HTTP/1.1 404 Not Found", true, 404);
91. unset($_SESSION["send_not_found"]);
92. }
93.
94. echo mb_convert_encoding($pageObj->Display(), 'UTF-8', 'UTF-8');
95.
96.} catch (Exception $e) {
97. die(Application::TraceException($e));
98.# die ("An error has occurred. We appologize for the inconvenience. Please try again later.");
99.}
?>