• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Problems with variables in Panel!

X

xandi_hostert

Guest
Hello people!

I have a complicated trouble to solve... hehehe

When I login in Plesk Panel, I see an error in the top of the page...

Notice: Use of undefined constant SPN_LINES_PER_PAGE - assumed 'SPN_LINES_PER_PAGE' in C:\Program Files\SWsoft\Plesk\admin\plib\class.cList.php3 on line 138

Probably, its anything with the number of lines that I want to see in the main page...

Does anyone know how to solve this??
Tanks for the answers!
 
We had this error after upgrading one of our servers to 7.5.5.

It was an error in the psa database with the number of display lines set to 0 when it should of been 25.

We emailed sw-soft and they resolved this for us.
 
It seems you've upgraded from 7.0.x:
OK, let us go:
1. start->run->cmd
2. cd "%plesk_dir%\mysql\bin"
3. mysql -uadmin -padmin_password -P8306 psa
4. update misc set val=20 where param regexp "^lines_per_page";
5.exit
(exactly as typed)

Login to Plesk CP

John S.G.
 
JackL

Thanks.. it worked to set a value for the camp... ;)

but, not solved my problem heheheh

continuous to appear that error in the top of the page

Notice: Use of undefined constant SPN_LINES_PER_PAGE - assumed 'SPN_LINES_PER_PAGE' in C:\Program Files\SWsoft\Plesk\admin\plib\class.cList.php3 on line 138

now.. I have to solve this =]

Tnks for help :D
 
Try the following steps:
1. start->run->cmd
2. cd "%plesk_dir%\mysql\bin"
3. mysql -uadmin -padmin_password -P8306 psa
4. update listsparams set page_size=25;

I hope it will help you.
 
tks for reply!

but the parameter page_size allready have value 25 :)

well... I don't know... plesk is too much closed. Maybe one Installation Repair works... :(

I'll post a reply in here talking if it works...
 
Back
Top