Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by duncanb7
at 2024-08-07 01:18:47
Point:500 Replies:8 POST_ID:828706USER_ID:11059
Topic:
WordPress;PHP Scripting Language;MySQL Server
After my Cpanel-trial version on my VPS server was expired, and today
I start my wordpress as before go to http://mysite.com/wp/ without Cpanel License
it cames error as follows
What is that meaning or What is it caused by ?
So I gave up the old version of wordpress
Now I go http://wordpress.com to download new version of wordpress and do the following steps
1-gunzip wordpress-3.6.tar.gz
2-tar -xvf wordpress-3.6.tar
3- run index.php at mysite/wordpress/
4- setup all information such as databasename username, password, localhost & wp_prefix
5- all setup setting is passed, and then go to wordpress, it generate
the same error as my old version of wordpress
Why it generated the same error for old version and re-install new version without
Cpanel even the mysql is okay ?
Be Reminded: the old directory is at mysite/wp/ and the new directory is at mysite/wordpress/
Please advise kindly
Duncan
I start my wordpress as before go to http://mysite.com/wp/ without Cpanel License
it cames error as follows
Fatal error: Cannot redeclare class Walker_Page in /home/mysite/public_html/wp/wp-includes/post-template.php on line 970
What is that meaning or What is it caused by ?
So I gave up the old version of wordpress
Now I go http://wordpress.com to download new version of wordpress and do the following steps
1-gunzip wordpress-3.6.tar.gz
2-tar -xvf wordpress-3.6.tar
3- run index.php at mysite/wordpress/
4- setup all information such as databasename username, password, localhost & wp_prefix
5- all setup setting is passed, and then go to wordpress, it generate
the same error as my old version of wordpress
Why it generated the same error for old version and re-install new version without
Cpanel even the mysql is okay ?
Be Reminded: the old directory is at mysite/wp/ and the new directory is at mysite/wordpress/
Please advise kindly
Duncan
Author: duncanb7 replied at 2024-08-09 02:12:25
-Delete old wp
-Re-install wp
-create new database for wp
-and using following php code for reclare class error
if(class_exists('WP_Themes_List_Table') != true){
//code
}
-Re-install wp
-create new database for wp
-and using following php code for reclare class error
if(class_exists('WP_Themes_List_Table') != true){
//code
}
Author: duncanb7 replied at 2024-08-07 05:25:02
for sharing server, CPanel is free, for VPS server, I need to buy package license from Cpanel
with $14 USD/month for 15 licenses.
I don't have any hosting clients and I don't need Cpanel License
So I don't want to pay addition $14/month for Cpanel
with $14 USD/month for 15 licenses.
I don't have any hosting clients and I don't need Cpanel License
So I don't want to pay addition $14/month for Cpanel
Expert: Ray Paseur replied at 2024-08-07 05:12:44
Just curious... How much money are you saving by removing cPanel? I don't really need to know -- it's a rhetorical question, intended to lead you in the direction of discerning value versus price. Weigh the financial savings against the cost of inconvenience and disruption that it seems to be causing for you.
Accepted Solution
Expert: julianH replied at 2024-08-07 03:47:25
500 points GOOD
No
This has nothing to do with cron
PHP is saying it has already found a declaration of the class Walker_Page.
Then well done you have found a new one and you are unlikely to find a solution here.
However, several of the articles I read suggested that you remove certain items from the WP package before uploading - which seems to solve this problem for other people who have reported it.
This has nothing to do with cron
PHP is saying it has already found a declaration of the class Walker_Page.
I have read all google stuff and find no solution.
Then well done you have found a new one and you are unlikely to find a solution here.
However, several of the articles I read suggested that you remove certain items from the WP package before uploading - which seems to solve this problem for other people who have reported it.
Author: duncanb7 replied at 2024-08-07 02:59:53
I have read all google stuff and find no solution.
Do you think I delete all cpanel cron-job in cron file since it is expired,
and that might be helping to solve the issue ?
0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
47 21 * * * /usr/local/cpanel/scripts/upcp --cron
0 1 * * * /usr/local/cpanel/scripts/cpbackup
35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
45 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_mailman_cache && /usr/local/cpanel/scripts/update_mailman_cache
30 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
45 */8 * * * /usr/bin/test -x /usr/local/cpanel/bin/optimizefs && /usr/local/cpanel/bin/optimizefs
30 */2 * * * /usr/local/cpanel/bin/mysqluserstore >/dev/null 2>&1
15 */2 * * * /usr/local/cpanel/bin/dbindex >/dev/null 2>&1
15 */6 * * * /usr/local/cpanel/scripts/autorepair recoverymgmt >/dev/null 2>&1
*/5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
59 5 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
10,25,40,55 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
Do you think I delete all cpanel cron-job in cron file since it is expired,
and that might be helping to solve the issue ?
0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
47 21 * * * /usr/local/cpanel/scripts/upcp --cron
0 1 * * * /usr/local/cpanel/scripts/cpbackup
35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
45 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_mailman_cache && /usr/local/cpanel/scripts/update_mailman_cache
30 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
45 */8 * * * /usr/bin/test -x /usr/local/cpanel/bin/optimizefs && /usr/local/cpanel/bin/optimizefs
30 */2 * * * /usr/local/cpanel/bin/mysqluserstore >/dev/null 2>&1
15 */2 * * * /usr/local/cpanel/bin/dbindex >/dev/null 2>&1
15 */6 * * * /usr/local/cpanel/scripts/autorepair recoverymgmt >/dev/null 2>&1
*/5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
59 5 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
10,25,40,55 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
Expert: julianH replied at 2024-08-07 02:35:58
Have you tried this wp forum post?
http://wordpress.org/support/topic/cannot-redeclare-class-walker_page-after-attempted-update
http://wordpress.org/support/topic/cannot-redeclare-class-walker_page-after-attempted-update
Author: duncanb7 replied at 2024-08-07 02:08:20
I have reboot my VPS server a lot of times after Cpanel expired.
what should I check on php.ini
what should I check on php.ini
Expert: AdHe5 replied at 2024-08-07 02:00:11
I'm just guessing but probably the problem is that cpanel uninstall messed up your php configuration. Did you restart apache after cpanel uninstall? Did you check your php.ini file for errors?