Page 1 of 1

Listcontent.php not working after website launch

Posted: Thu Dec 04, 2014 2:04 pm
by almustone
Hi!

My website worked well before a launch but after that there happened something wierd with a listcontent.php.

There are a couple of screenshots to clear things out.

If I click from Arrows at Pages section and try to expand pages, nothing happens. But if I refresh site, things have happened and pages are expanded. So things happens, but they are not showing up.

Same if I try to Collapse all sites ect.

When I click that arrow when I'm watching Firefox console error "uncaught exception: [object Object]" comes up.

I also have problems with Editing pages and with Apply button. It saves changes, but that green message won't show up. ReferenceError: reference to undefined property a[v.status]

I have reinstalled core content via SSH and my checksum is clear. I have set 755 rule for lib and admin folder content.

Here are also my server details. All are clear and everything worked nice before, but then I moved website content from subdomain to public_html and now here is a problem. I believe there have happened somekind of misconfiguration somewhere, but where?

Best regards

Aleksi

----------------------------------------------

Cms Version: 1.11.11

Installed Modules:

CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.5
MenuManager: 1.8.6
MicroTiny: 1.2.7
ModuleManager: 1.5.8
News: 2.14.4
Search: 1.7.11
ThemeManager: 1.1.8
Gallery: 2.0.1
FormBuilder: 0.8
TinyMCE: 2.9.12
Showtime: 3.4
JQueryTools: 1.2.6
CGSimpleSmarty: 1.7.4
CGExtensions: 1.42.2
CGBlog: 1.12.6


Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 32000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.3.3
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 120
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 32M
upload_max_filesize: 32M
session_save_path: /tmp (0777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.37
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages
Server Time Diff: No filesystem time difference found


----------------------------------------------

Re: Listcontent.php not working after website launch

Posted: Thu Dec 04, 2014 2:09 pm
by Jo Morg
Check if you have the entries in config.php correctly pointing to the current paths the site is using. Typically CMSMS doesn't need any path entry on this file.
Also clear CMSMS cache, and see if it solves the problem.

Re: Listcontent.php not working after website launch

Posted: Thu Dec 04, 2014 4:33 pm
by almustone
Hi!

And thanks a lot for a fast reply.

I have cleared cache multiple times and tried with a different browsers with no luck.

At config.php file there are only next values:

$config['dbms'] = 'mysqli';
$config['db_hostname'] = 'xxxx';
$config['db_username'] = 'xxxxx';
$config['db_password'] = 'xxxxx';
$config['db_name'] = 'xxxxx';
$config['db_prefix'] = 'xxxxx';
$config['timezone'] = 'xxxx';
$config['url_rewriting'] = 'mod_rewrite';

I set up pretty urls after launch, because there were problems using pretty urls at subfolder. I now changed prettyurls off, but still same problem.

Only thing that separates installation before launch is I created new public_html file and moved installation there and changed old installation public_html folder name to public_html_old.

Is there any help or do you need more info?

Best regards

Aleksi

*** Edit ***

Screenshots added. There are bunch of other errors as well at Pages page. Everything else is working, except managing pages order and Apply button.

Re: Listcontent.php not working after website launch

Posted: Thu Dec 04, 2014 4:41 pm
by Jo Morg
almustone wrote:CGSimpleSmarty: 1.7.4
CGExtensions: 1.42.2
almustone wrote:phpversion: 5.3.3
Not compatible, read this: http://forum.cmsmadesimple.org/viewtopi ... =7&t=71719
almustone wrote:My website worked well before a launch but after that there happened something wierd with a listcontent.php.
I assumed that the move was on the same server... apparently not. You will need PHP 5.4.3.

Re: Listcontent.php not working after website launch

Posted: Thu Dec 04, 2014 4:57 pm
by almustone
Yes I have used same server all the time. I even demostrated test site a couple of days ago before launch how managing pages work.

My test site was at http://www.mysite.com/testsite and now I just moved it to http://www.mysite.com

But thanks for a help again. I contact my host tomorrow and let's see maybe that fix the problem.

- Aleksi

Re: Listcontent.php not working after website launch

Posted: Thu Dec 04, 2014 6:35 pm
by JohnnyB
I think this could be your problem unless you are the server administrator and did this via SSH while logged in as the root user.
Only thing that separates installation before launch is I created new public_html file and moved installation there and changed old installation public_html folder name to public_html_old.
You cannot simply create a new public_html directory and expect it to work. This directory has special chmod and chown permissions and assignments. If you did this while logged in as the account user via FTP or cPanel, then your newly created public_html directory is not going to work.... That has to be done with a user account, usually root, that can assign the group and owner and folder permissions correctly.

Re: Listcontent.php not working after website launch

Posted: Thu Dec 04, 2014 8:10 pm
by almustone
Hi!

Ok, that sounds logical. Yes I created public_html via Filezilla. I have old public_html folder still there for a backup. Maybe I give a shot and move installation from my new public_html folder content inside the old one and let's see maybe that fix it.

But I probably need to update my php version too. Thanks a lot about support.

You guys rock!

- Aleksi