English > General Questions

New errors

<< < (2/6) > >>

Xaman:

--- Quote from: Harald Leithner on January 19, 2015, 08:30:20 pm ---which error?

--- End quote ---
Sent you the link by message.

Xaman:
Were you able to see the error?

Harald Leithner:
Yes but didn't remember what to change in symfony. Did I wrote a mail to you?

Harald Leithner:
I found this message

--- Quote ---        // Add query KEY HINTS
        if(isset($queryData['useKey'])) {
            $table_alias = key($queryData['useKey']);
            $key_hint = $queryData['useKey'][$table_alias];
            if($table_alias == $this->name) {
                //$useTable .= ' USE KEY ('.$key_hint.')';
            }
            elseif (isset($queryData['joins'][$table_alias])) {
                $split_ON = explode('ON',$queryData['joins'][$table_alias]);
                $split_ON[0] .= ' USE KEY ('.$key_hint.') ';
                //$queryData['joins'][$table_alias] = implode('ON',$split_ON);
            }
        }
--- End quote ---

I disabled 2 lines but didn't remember the file. Its something in the s2 database framework.

Xaman:
Found it here: /components/com_s2framework/s2framework/libs/model/model.php

I removed that part and it's still giving the error.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version