|
View previous topic :: View next topic |
| Author |
Message |
mixy Heavy poster


Offline Joined: Aug 29, 2009 Posts: 173
|
Posted: Thu Oct 06, 2011 4:53 am Post subject: [solved] Problem with admin page after upgrade to 9.3 |
|
Hi,
I just found out about the 9.3 and decided to upgrade, it was pretty quick and easy but going to my admin menu at site-address/admin.php i get an error message
| Code:: |
Fatal error: Call to a member function read() on a non-object in /home/xxxxxxxx/public_html/includes/classes/cpg_adminmenu.php on line 258 |
Please help.
Thanks
mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
|
|
| Back to top |
|
 |
InspectorClueNo Heavy poster


Offline Joined: Mar 26, 2008 Posts: 211
|
Posted: Thu Oct 06, 2011 5:29 am Post subject: Re: Problem with admin page after upgrade to 9.3 |
|
Folder permission issues, accelerators, other caching system, zend 2 .... try to delete the folder admin/links and re-upload it again
InspectorClueNo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) none available
|
|
| Back to top |
|
 |
mixy Heavy poster


Offline Joined: Aug 29, 2009 Posts: 173
|
Posted: Thu Oct 06, 2011 6:41 am Post subject: Re: Problem with admin page after upgrade to 9.3 |
|
I did that and no change.
I went ahead to Chmod these directories to 700
- cache
- includes
- modules/coppermine/albums
- modules/coppermine/albums/userpics
- uploads/avatars
- uploads/forums
And this to 622
- cpg_error.log
Now i can only get into my admin panel and not the site.
I this error message when i go to my site without the admin.php extentension
| Code:: |
Fatal error: Call to undefined function forumspro_check_installation() in /home/xxxxxxxxxxx/public_html/blocks/block-ForumsPro-scroll-Last_10_Posts.php on line 48 |
Any ideas please. I would appreciate more help.
mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Thu Oct 06, 2011 8:58 am Post subject: Re: Problem with admin page after upgrade to 9.3 |
|
You are missing ForumsPro files, you can simply disable the block till you sort this out.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Thu Oct 06, 2011 11:32 am Post subject: Re: Problem with admin page after upgrade to 9.3 |
|
I've noticed your chmod 700 and I presume you know exactly what you doing.
(s)ftp clients' defaults are normally set to 755, double check that your client settings match with your server setup.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
mixy Heavy poster


Offline Joined: Aug 29, 2009 Posts: 173
|
Posted: Thu Oct 06, 2011 11:39 am Post subject: Re: Problem with admin page after upgrade to 9.3 |
|
Can you please explain what you mean by server setup and client settings?
Thanks
mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
|
|
| Back to top |
|
 |
mixy Heavy poster


Offline Joined: Aug 29, 2009 Posts: 173
|
Posted: Thu Oct 06, 2011 11:42 am Post subject: Re: Problem with admin page after upgrade to 9.3 |
|
Which CHMOD 700 are you talking about.
Please explain.
mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Thu Oct 06, 2011 12:11 pm Post subject: Re: Problem with admin page after upgrade to 9.3 |
|
If you are uploading files with a ftp client then:
1. Create an empty .php file on your local computer and insert the following code:
| PHP: |
<?php $uname = get_current_user(); $powner = posix_geteuid(); $powner = posix_getpwuid($powner); $powner = $powner['name'];
$fowner = fileowner(__FILE__); $fowner = posix_getpwuid($fowner); $fowner = $fowner['name']; echo "<pre> UName: $uname POwner: $powner FOwner: $fowner </pre>";
|
2. save the file and upload inside your public_html
3. visit the file using your browser and reply quoting the results
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
mixy Heavy poster


Offline Joined: Aug 29, 2009 Posts: 173
|
Posted: Thu Oct 06, 2011 5:55 pm Post subject: Re: Problem with admin page after upgrade to 9.3 |
|
UName: same
POwner: same
FOwner: same
mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Fri Oct 07, 2011 12:15 am Post subject: Re: Problem with admin page after upgrade to 9.3 |
|
Thanks, thats a start.
Was the file you uploaded created with 655, 644 or 600?
ClueNo was close, but the issue is in modules folder.
In your case a 666 on files and 777 on folders can get the server to refuse opening a file.
Other servers with similar setups will also refuse to open 644s and 755s
So you need to basically try 644s and 755s first, 600s and 700s if still not luck.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
mixy Heavy poster


Offline Joined: Aug 29, 2009 Posts: 173
|
Posted: Fri Oct 07, 2011 12:34 am Post subject: Re: Problem with admin page after upgrade to 9.3 |
|
I simply created and uploaded to the server. In my server i checked the permissions and it was in 644.
What folder, directories or files do i need to CHMOD?
Thanks.
mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Fri Oct 07, 2011 2:01 am Post subject: Re: Problem with admin page after upgrade to 9.3 |
|
I would need to know whats the state of your website now, does it work and if so which pages.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
mixy Heavy poster


Offline Joined: Aug 29, 2009 Posts: 173
|
Posted: Fri Oct 07, 2011 4:28 am Post subject: Re: Problem with admin page after upgrade to 9.3 |
|
My website is still not working.When you visit the link, all you get is a white blank page. But i can log into the admin panel via admin.php.
Thats the current situation.
mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Fri Oct 07, 2011 5:41 am Post subject: Re: Problem with admin page after upgrade to 9.3 |
|
I see no links to click, -removed-
From what I can understand you use tools which you have no idea what they do, are, works and so on, stop doing that.
You did chmod folders, and maybe descendent's files and folders using with a very strict value, 700, without any knowledge at all. I'm not even sure what else you may have done.
I'll make support easy for you helping you step by step, but you need to do things ONLY when you know the consequences of your actions. Otherwise ask before you try.
-removed-
First of all everything you changed to 700, needs to go back to its original value. Do that and come back.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
mixy Heavy poster


Offline Joined: Aug 29, 2009 Posts: 173
|
Posted: Fri Oct 07, 2011 6:17 am Post subject: Re: Problem with admin page after upgrade to 9.3 |
|
Thank you for your help, i will adhere to your advice henceforth.
I CHMOD the following, and those are the only ones i touched. Please i would appreciate if you bring my attention to something i am overlooking and thanks for your patience and offer to help.
- cache
- includes
- modules/coppermine/albums
- modules/coppermine/albums/userpics
- uploads/avatars
- uploads/forums
And this to 622
- cpg_error.log
As the instructions said after installation. Or maybe i misunderstood the instructions. Can i ask a question?
If an instruction says CHMOD the following directory to 755
- modules/coppermine/albums/userpics
Am i supposed to chmod the modules, coppermine, albums and userpics folders to 755 or just the userpics folder?
The folders/directories i listed above are all 755 except for the cpg_error.log which is 622.
Please do not hesitate to bring my attention to anything am leaving out.
If i changed any of the folders to a wrong permission settings pls let me know what to revert back.
mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
|
|
| Back to top |
|
 |
|
|